My first reaction is that if you have this and dont know how to get the list from it then maybe you are not as sure as you could be that you want to have such a string in the first place. Why do you have this list in a string?

On Dec 11, 2007, at 5:14 PM, katie smith wrote:

How on earth do I convert strings to lists. I have a string with a list it in it and I'm trying to convert it into a list. Please help me.

Ex."[16, 16, 2, 16, 2, 16, 8, 16]"-string
to [16, 16, 2, 16, 2, 16, 8, 16] -list

Looking for last minute shopping deals? Find them fast with Yahoo! Search.
--
http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to