[Zope] How to convert string to list without eval or exec

Josef Meile jmeile at hotmail.com
Wed Mar 10 14:11:41 EST 2004


Hi,

I've seen this question here several times. Even I made it once
long time ago. I could solve it easily because I didn't have a
complex list. But for the people, with lists of lists, here are
really nice approachs:

http://groups.google.ch/groups?hl=de&lr=&ie=UTF-8&threadm=mailman.166.1078828329.19534.python-list%40python.org&rnum=1&prev=/groups%3Fq%3D%2522how%2Bto%2Bconvert%2Bstring%2Bto%2Blist%2522%2Bgroup:comp.lang.python.*%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.lang.python.*%26selm%3Dmailman.166.1078828329.19534.python-list%2540python.org%26rnum%3D1

If the link doesn't works, then just copy and paste this on google:
"How to convert string to list without eval or exec"
group:comp.lang.python.*

Regards,
Josef



More information about the Zope mailing list