Tigge / antfs-cli

Extracts FIT files from ANT-FS based sport watches such as Garmin Forerunner 60, 405CX, 310XT, 610 and 910XT.
MIT License
312 stars 76 forks source link

Replace optparse with argparse #115

Closed Toilal closed 9 years ago

Toilal commented 9 years ago

optparse is deprecated and should be replaced with argparse. I did this already in another project, it's quite straight-forward.

For python<2.7, module sources are available on pip (pip install argparse).

I can make a PR as soon as #112 is merged.

Tigge commented 9 years ago

Yeah, argparse is also a much nicer to use than optparse but I kept using optparse to cater to the pre 2.7 population. A year or so have passed since then and if it is also available from pip I'm all for it!

Toilal commented 9 years ago

Ok @Tigge , PR is ready, i just wait the merge of python3 to open it.