Calvin Spealman ironfroggy at socialserve.com
Wed Dec 12 02:52:34 CET 2007


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-list/attachments/20071211/740c28a1/attachment.htm 


More information about the Python-list mailing list