Use argparse instead of getopts

#1 · open · 0 comments

View on GitHub ↗

dermalikmann

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

Comments