Skip to content

Instantly share code, notes, and snippets.

@saltlakeryan
Created September 30, 2015 16:56
Show Gist options
  • Save saltlakeryan/3deeea7f8c5f8f627614 to your computer and use it in GitHub Desktop.
Save saltlakeryan/3deeea7f8c5f8f627614 to your computer and use it in GitHub Desktop.
import sys
print 'Number of arguments:', len(sys.argv), 'arguments.'
print 'Argument List:', str(sys.argv)
print 'First Argument: ', sys.argv[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment