> How do I split a string like "Hans" into a list of characters > ['H','a','n','s']?
>>> list('fred')
['f', 'r', 'e', 'd']
>>>
HTH,
Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
