Created
January 20, 2016 14:57
-
-
Save Chris7/68dc60931ebe7d54dfa0 to your computer and use it in GitHub Desktop.
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
import argparse | |
import sys | |
parser = argparse.ArgumentParser(description="Just do it without arguments!") | |
def main(): | |
for i in range(10): | |
print(i) | |
if __name__ == "__main__": | |
sys.exit(main()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment