Skip to content

Instantly share code, notes, and snippets.

@nfarring
Created August 27, 2011 09:38
Show Gist options
  • Save nfarring/1175192 to your computer and use it in GitHub Desktop.
Save nfarring/1175192 to your computer and use it in GitHub Desktop.
Python script template
#!/usr/bin/env python
# http://docs.python.org/dev/library/argparse.html
import argparse
if __name__=='__init__':
parser = argparse.ArgumentParser(description='')
args = parser.parse_args()
print(args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment