Mega Code Archive
Categories
/
Python Tutorial
/
Buildin Module
The argv attribute of the sys module is a list
The first item in the argv list is the path to the module; the rest is made up of arguments passed in. print sys.argv print sys.argv[1]