[Tutor] .readlines() condensing multiple lines

Mike Hall michael.hall at critterpixstudios.com
Wed Mar 23 19:44:38 CET 2005


On Mar 23, 2005, at 3:17 AM, Kent Johnson wrote:
>
> Anyway, Mike, it seems clear that your file has line endings in it 
> which are not consistent with the default for your OS. If reading with 
> universal newlines doesn't solve the problem, please let us know what 
> OS you are running under and give more details about the data.

Kent, reading universal did indeed solve my problem, but for the record 
I'm on OSX, and was reading from a standard plain text file.



More information about the Tutor mailing list