If called with: John
#!/usr/bin/python import sys print "Hello " + sys.argv[1] + "!"
Outputs: Hello John!