[Tutor] it slices, it dices, it makes BILLIONS and BILLIONS of juliene fries...
Andy W
toodles@yifan.net
Sat, 5 Jan 2002 14:09:34 +0800
> But more importantly, I want to take a string of seceral words and
> chop it into a list with each word an item in the list.
>
> Among other things. But let's talk about the other things later.
several_words_string="Scooby Dooby Doo"
several_words_list=several_words.split()
That is, as long as the words are separated by spaces. Otherwise
several_words.split(separator)
>
>
> end
>
> In total confusion,
> Kirk D Bailey
>
> +----------------------------------------------------+
> | Providing Excellent email service for free!! |
> | Webmaster, Howlermonkey Email services Co. |
> | highprimate@howlermonkey.net www.howlermonkey.net/ |
> +----------------------------------------------------+
>
> ODD#1.8.01/kdb/sigme
>
> <a
href="http://www.totallyfreepaging.com/checksource.asp?ID=89212&PT=AZC1XT"
target="_top"><IMG
> SRC="amtfp2.gif" WIDTH=468 HEIGHT=60 alt="Totally Free Paging!"></a>
>
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>