Created
September 25, 2013 23:49
-
-
Save akreer135/6707852 to your computer and use it in GitHub Desktop.
argv and variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment