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


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

Reply via email to