Created
December 29, 2020 18:57
-
-
Save benlansdell/e8a3ee7f15f8ee76f24cc1fc0c9fb6e3 to your computer and use it in GitHub Desktop.
Basic python program template
This file contains hidden or 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 python3 | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument('headnode', type = str) | |
def main(args): | |
print("Now you can do stuff with the arguments") | |
if __name__ == "__main__": | |
args = parser.parse_args() | |
main(args) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment