how do i change from string to list

Michael Hoffman m.h.3.9.1.without.dots.at.cam.ac.uk at example.com
Mon Oct 25 09:49:26 CEST 2004


BJörn Lindqvist wrote:
> How do you do the opposite? List to string? Shortest method I've found is:
> 
>>>>''.join(["H", "e", "l", "l", "o"])

That is the obvious way to do it.
-- 
Michael Hoffman



More information about the Python-list mailing list