Contribute Media
A thank you to everyone who makes this possible: Read More

Accessing command-line arguments in Python

Description

If you need to make a very simple command-line interface and it doesn't need to be friendly, you can read sys.argv to manually process the arguments coming into your program.

Details

Improve this page