I am trying to write a python program that I will run on the command line. I want the program to take one input variable. In particular, I would use a date in the form 2014-01-28 (yyyy-mm-dd):
eg. python my_script.py 2014-01-28
It seems that argparse can help me, but I have found very little documentation regarding the module. Does anyone have experience with something like this?
source
share