Last active
November 23, 2016 02:07
-
-
Save jmberros/8e288cf73473fef12171a2df486ba40f to your computer and use it in GitHub Desktop.
Read arguments from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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