from sys import argv
script, first, second, third = argv
print "The script is called:", script
print "Your first variable is:", first
print "Your second variable is:", second
print "Your third variable is:", third
Das Script *MUSS* drei Argumente haben. Mit dem Scriptnamen sind es dann vier :)
> python script.py argument1 argument2 argument3