Closed napulen closed 3 years ago
argparse is a python library to parse argument from the console (i.e., to make a CLI interface for a script).
argparse
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
sys.argv
can even go further if you want to get fancy click > argparse > sys.argv
argparse implemented in dev branch
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 readingsys.argv