The first item in the argv list is the path to the module; the rest is made up of arguments passed in. print sys.argvprint sys.argv[1]