import argparse p = argparse.ArgumentParser() p.add_argument("--zach-whaley", action="store_true") a = p.parse_args() if a.zach-whaley: print "zach" else: print "none"
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15129 | zachwhaley | Add practice directory |