Created
July 9, 2019 02:27
-
-
Save kylebgorman/cb4baa3323fe06d3cd707b94a1d28c5d to your computer and use it in GitHub Desktop.
The minimal non-trivial Python script
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
#!/usr/bin/env python | |
"""ONE-LINE DESCRIPTION HERE.""" | |
import argparse | |
import logging | |
def main(args): | |
# ADD LOGIC HERE. | |
pass | |
if __name__ == "__main__": | |
logging.basicConfig(level="INFO", format="%(levelname)s: %(message)s") | |
parser = argparse.ArgumentParser(description=__doc__) | |
# ADD ARGUMENTS HERE. | |
main(parser.parse_args()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment