[Tutor] .readlines() condensing multiple lines

Mike Hall michael.hall at critterpixstudios.com
Wed Mar 23 19:40:32 CET 2005

On Mar 23, 2005, at 12:53 AM, Alan Gauld wrote:
> Typically what happens is you view the file in an application
> that autrowraps long lines so it looks like multiple lines on
> screen but in fact it is one long line in the file. In that
> case Python will only see the single long line.

I'm using subEthaEdit, which will autowrap long lines, but it also 
displays line numbers, so there's no doubt where one begins and ends :)

More information about the Tutor mailing list