getopt https://docs.python.org/2/library/getopt.html or just look for "--help" in the command line and print something like "read the readme"