Record separator for readlines()

gene tani gene.tani at gmail.com
Fri Sep 2 18:18:15 EDT 2005


universal newlines?
http://www.python.org/doc/2.3.3/whatsnew/node7.html

Angelic Devil wrote:
> I know this has been asked before (I already consulted the Google
> Groups archive), but I have not seen a definative answer.  Is there a
> way to change the record separator in readlines()?  The documentation
> does not mention any way to do this.  I know way back in 1998, Guido
> said he would consider adding it, but apparently that didn't happen.
> Is there some way to do this?
>
> --
> "First they ignore you, then they laugh at you, then they fight you,
> then you win."
>    -- Mohandas Gandhi




More information about the Python-list mailing list