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