Command line arguments with argparse

  1. Modules to handle the command line
  2. argparse
  3. Basic usage of argparse
  4. Positional argument
  5. Many positional argument
  6. Convert to integers
  7. Convert to integer
  8. Named arguments
  9. Boolean Flags
  10. Short names
  11. argparse print help explicitely
  12. Argparse xor - mutual exlucise - only one - exactly one
  13. Argparse argument with default and optional value
  14. Exercise: Command line parameters
  15. Exercise: argparse positional and named