DDMAL / MEI2Volpiano

An MEI to Volpiano converter for CWMN or Neume MEI files.
MIT License
0 stars 0 forks source link

argparse is not used #3

Closed napulen closed 3 years ago

napulen commented 3 years ago

argparse is a python library to parse argument from the console (i.e., to make a CLI interface for a script).

https://docs.python.org/3/library/argparse.html

In the current code, it is being imported

https://github.com/DDMAL/MEI2Volpiano/blob/58f88fbb2c00d206f53ab5b21a0f11cf3094c60f/mei2volpiano.py#L9

but not used

https://github.com/DDMAL/MEI2Volpiano/blob/58f88fbb2c00d206f53ab5b21a0f11cf3094c60f/mei2volpiano.py#L53

argparse is preferred over reading sys.argv

deepio commented 3 years ago

can even go further if you want to get fancy click > argparse > sys.argv

raviraina commented 3 years ago

argparse implemented in dev branch