Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import argparse # this will help create CLI elements
- # this is the name of the parser object that will parse the commandline
- parser = argparse.ArgumentParser(description="")
- # the arguments will be coded in the following format
- # parser.add_argument('--insert_name_here',nargs='?', const='bar',default=False, help='')
- parser.add_argument('--',nargs='?', const='bar',default=False, help= "")
- # unsure about the function of this one
- args = parser.parse_args()
Add Comment
Please, Sign In to add comment