#sys.argv is after the file name #sys.exit exits program if condition isn't met in this case if len(sys.argv) != 2: sys.exit