Difference between revisions of "Argparse"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
== See also == | == See also == | ||
+ | * {{import}} | ||
* {{argparse}} | * {{argparse}} | ||
[[Category:Python]] | [[Category:Python]] |
Revision as of 19:48, 26 March 2024
store_true
import argparse parser = argparse.ArgumentParser (allow_abbrev=False, usage=usage())
parser.add_argument("your_argument") args = parser.parse_args()
Related
optparse (deprecated)
See also
Advertising: