Command-line interaction in Python

Articles on the topic
sys.argv: command-line arguments
argparse

Article author: Andrei Olegovich