Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: M. Chris
Added: Apr 24, 2019 9:00 AM
Views: 7
Tags: no tags
  1. import argparse
  2. parser = argparse.ArgumentParser(description='Process some integers.')
  3. parser.add_argument("foo", ..., required=True)
  4. parser.parse_args()