[Tutor] String to List and back?

Light light_zls at 163.com
Sun Jul 3 06:06:19 CEST 2005


Hi, Lee.
You could using:
>>> bts = ''.join(strlist)
Then you would get:
>>> bts
'abc'

Light
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050703/0e01ff1b/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FOX.GIF
Type: image/gif
Size: 9519 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20050703/0e01ff1b/FOX.gif


More information about the Tutor mailing list