I have some Python 2.7 code written that uses the argparse module. Now I need to run it on a Python 2.6 machine and it won\'t work since argparse was added in 2.7.
I
you can also get the argparse.py file (e.g. from https://pypi.python.org/pypi/argparse) and put it in the same folder as your main python file.
argparse.py