Python has a builtin argparse module. You should use that. It does all of the heavy lifting and logic for you.
Python has a builtin argparse module. You should use that. It does all of the heavy lifting and logic for you.