Skip to content

Instantly share code, notes, and snippets.

@gduverger
Created October 27, 2014 22:00
Show Gist options
  • Save gduverger/e2f6d8ac969bf79ba0cc to your computer and use it in GitHub Desktop.
Save gduverger/e2f6d8ac969bf79ba0cc to your computer and use it in GitHub Desktop.
Python command line script
#!/usr/bin/python
import sys
def main(argv):
print("main")
if __name__ == "__main__":
main(sys.argv[1:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment