I recommend switching to the argparse module. It makes it (imo) easier to handle arguments for a python script.
Also it autogenerates a help page for you, if you provide meta data during option creation.
https://docs.python.org/3/library/argparse.html
I recommend switching to the argparse module. It makes it (imo) easier to handle arguments for a python script.
Also it autogenerates a help page for you, if you provide meta data during option creation.
https://docs.python.org/3/library/argparse.html