argparse boolean default

45

argparse boolean default -

# If you want to set a parameter’s default value to True using argparse, use
parser.add_argument('--param', action='store_false')

Comments

Submit
0 Comments