Skip to content

Command-line programs

Coming soon

Accept arguments from the terminal using sys.argv and argparse with exit codes.

You'll be able to

  • Read positional command line arguments from sys.argv
  • Build user-friendly CLIs with flags and help using argparse
  • Return standard process exit codes with sys.exit

Coming soon

This lesson is being written. The Telegram channel announces new lessons as they open.