Skip to content

Instantly share code, notes, and snippets.

@jmberros
Last active November 23, 2016 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmberros/8e288cf73473fef12171a2df486ba40f to your computer and use it in GitHub Desktop.
Save jmberros/8e288cf73473fef12171a2df486ba40f to your computer and use it in GitHub Desktop.
Read arguments from command line
from sys import argv
def main(arg1, arg2):
# Your logic here
pass
if __name__ == '__main__':
main(argv[1], argv[2])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment