Login
From:
www.pythonmorsels.com
(Uncensored)
subscribe
Parsing command-line arguments in Python - Python Morsels
https://www.pythonmorsels.com/parsing-command-line-arguments-python/
links
backlinks
Roast topics
Find topics
Find it!
If you're trying to make a friendly command-line interface in Python, instead of manually parsing sys.argv you should probably use Python's argparse module.