Is there any library that can parse random key value pairs in sys.argv in Python?
For example:
python run.py --v1 k1 --v2 k2 --v3 k3
Should return me a dictionary like {v1->k1, v2->k2, v3->k3}. and at compile time I don't know what those 'v' will be.
Thanks!
Erben