Inserting/Deleting newline(s) in very large text files

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Aug 13 00:52:21 EDT 2010


On Thu, 12 Aug 2010 21:25:59 +0200, Thomas Jollans wrote:

> Everybody agrees that text files
> should end with a line feed, because some text editors might mess up if
> they don't.

For some definition of "everybody". Obviously the text editors which 
DON'T mess up don't make the assumption that all text files end with a 
newline.


-- 
Steven



More information about the Python-list mailing list