Indexing strings
Patrick Useldinger
pu.news.001 at gmail.com
Sat Mar 5 04:15:19 EST 2005
Fred wrote:
> That was exactely what I was searching for. I needed a program, that
> chopped up a string into its words and then saves them into a list. I
> think I got this done...
There's a function for that: text.split().
You should really have a look at the Python docs. Also,
http://diveintopython.org/ and http://www.gnosis.cx/TPiP/ are great
tutorials.
-pu
More information about the Python-list
mailing list