adding items from a text file to a list

Emile van Sebille emile at fenx.com
Tue Oct 30 20:07:13 EST 2001


"Peter Wang" <pzw1 at cor-no-spam-nell.edu> wrote in message
news:3ohutt4ed0264imgprah2lblipqljer1pe at 4ax.com...
> split()[0] won't work because some items (like "pickled eggs") have
> spaces in them.
>


I know... it sounded like homework and I wanted to point without giving...

--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list