Skip to content

Instantly share code, notes, and snippets.

@blammothyst
Created February 27, 2014 20:23
Show Gist options
  • Select an option

  • Save blammothyst/9258774 to your computer and use it in GitHub Desktop.

Select an option

Save blammothyst/9258774 to your computer and use it in GitHub Desktop.
Code from Learn Python The Hard Way(.org) ex 13
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
name = raw_input("name? ")
snark = " good one %s" % "huh"
print name + snark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment