Created
January 19, 2019 05:32
-
-
Save khaosans/b319118b0ca717581af7ab255437c3c7 to your computer and use it in GitHub Desktop.
dsfa
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
def main(args): | |
# parse arguments using optparse or argparse or what have you | |
print(args) | |
if __name__ == '__main__': | |
import sys | |
main(sys.argv[1:]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment