469,271 Members | 997 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

converting string to dictionary

Hi,
suppose i have dictinary as below :

a={'jack':'monica','mark':'alice','jeff':'jeni'}

i am storing this dictionary into the database where it is converted
to string of the form :
'{'jack':'monica','mark':'alice','jeff':'jeni'}'

now i want to convert this string into dictionary.

how can i do this ?

is there any way to do this ?

thanks,
Jul 18 '05 #1
1 1422
one (good or bad ? ) idea : use pickle...
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by k.vanderstarren | last post: by
20 posts views Thread by Gustaf | last post: by
3 posts views Thread by coconet | last post: by
reply views Thread by Gabriel Genellina | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.