[Tutor] Splitting a string into a list.

Troels Leth Petersen troels@kvaksalver.dk
Thu, 25 Jul 2002 04:10:56 +0200


Isn't there a built-in that does the following:

>>> liste = []
>>> for char in thing:
...  liste.append(char)
...  
>>> liste
['l', 'o', 't', 't', 'o']
>>> 

?

Regards,
Troels