how to change a string into dictionary

aimeixu aimeixu at amazon.com
Mon Aug 9 11:33:52 CEST 2010


Hi,
I am newbie for python ,Here is my question:
a = "{'a':'1','b':'2'}"
how to change a into a dictionary ,says, a = {'a':'1','b':'2'}
Thanks a lot .Really need help.



More information about the Python-list mailing list