I need to convert an input string say 'xxxx' to a list of the form ['xxxx' ,]. If I use list(stringname), I get ['x','x','x','x'] ; list.join() is an error; and str.join() won't use lists. I do need the comma after the string. Is there a simple solution?
Regards
John


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

Reply via email to