string to list conversion

Srinivas Srinivas.Irigi at adaptit.co.za
Thu Feb 19 08:03:51 EST 2009


John,

Try the following code .. hope this helps and solves your problem . I have run 
in the interactive mode
>>> s='xxxx'
>>> a=[s,'12']
>>> print a
['xxxx', '12']


regards
Srinivas





More information about the Python-list mailing list