newbie question: if var1 == var2:

Kirk Strauser kirk at daycos.com
Thu Dec 11 15:45:54 EST 2008


At 2008-12-11T19:49:23Z, Steve Holden <steve at holdenweb.com> writes:

> ... and it's so hard to write
>
>      item = item[:-1]

It's easy - and broken.  Bad things happen if you're using something other
than '\n' for EOL.
-- 
Kirk Strauser
The Day Companies



More information about the Python-list mailing list