I want to use argparse to parse command lines of form \"arg=val\" For example, the usage would be:
script.py conf_dir=/tmp/good_conf
To ach
The usual way to put name value pairs on the command line is with options. I.e. you would use
python script.py --confdir=/tmp/good_conf
argparse can certainly handle that case. See the docs at:
http://docs.python.org/library/argparse.html#option-value-syntax