Parse arguments with Python

If you’re using Python for any amount of development, you have probably issued a command in a terminal, even if only to launch a Python script or install a Python module with pip. Commands may be simple and singular:$ lsCommands also might take an argument:read more

Source: LXer – Parse arguments with Python