argparse

From wikieduonline
Jump to navigation Jump to search

wikipedia:Argparse

store_true


import argparse
parser = argparse.ArgumentParser (allow_abbrev=False, usage=usage())
parser.add_argument("your_argument")
args = parser.parse_args()

Related

See also

Advertising: