Kirk Strauser wrote:
At 2008-12-11T19:49:23Z, Steve Holden <st...@holdenweb.com> writes:item = item[:-1]It's easy - and broken. Bad things happen if you're using something other than '\n' for EOL.
Or if the last line of your file doesn't end with a newline. -- Greg -- http://mail.python.org/mailman/listinfo/python-list