argparse
Jump to navigation
Jump to search
store_true
import argparse parser = argparse.ArgumentParser (allow_abbrev=False, usage=usage())
parser.add_argument("your_argument") args = parser.parse_args()
Related[edit]
optparse (deprecated)
import sys
See also[edit]
Advertising: