I have created a script using argparse.
argparse
The script needs to take a configuration file name as an option, and user can specify whether they need to proceed t
To create an option that needs no value, set the action [docs] of it to 'store_const', 'store_true' or 'store_false'.
'store_const'
'store_true'
'store_false'
Example:
parser.add_argument('-s', '--simulate', action='store_true')