CIS192 Python Programming

parser.add_argument has lots of features The first argument is the name of the argument to be parsed add_argument(’pos_arg’) Creates a required positional argument Can be accessed with args.pos_arg add_argument(’-o’,’--optional’) Creates an optional flag argument Passed on the CL with -o value or --optional value ................
................