Difference between revisions of "Argparse"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
  [[import argparse]]
 
  [[import argparse]]
 
  parser = [[argparse.ArgumentParser]] (allow_abbrev=False, usage=usage())
 
  parser = [[argparse.ArgumentParser]] (allow_abbrev=False, usage=usage())
 +
 +
parser.add_argument("your_argument")
  
 
== Related ==
 
== Related ==

Revision as of 11:33, 13 October 2022

Advertising: