argparse_notes
This is an old revision of the document!
Table of Contents
dummy 1
dummy 2
dummy 3
dummy 4
--feature and --no-feature
parser.add_argument( "--header", action='store_true', dest='header', help='use 1st line as header') parser.add_argument( "--no-header", action='store_false', dest='header', help='assumes that there is no header') parser.set_defaults(header=True)
argparse_notes.1707775276.txt.gz · Last modified: 2024/02/12 22:01 by raju