readling newlines
Francis Avila
francisgavila at yahoo.com
Sun Jan 11 14:03:26 EST 2004
More information about the Python-list mailing list
Sun Jan 11 14:03:26 EST 2004
- Previous message (by thread): readling newlines
- Next message (by thread): Running pydoc from the Windows XP command line (dos box)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Samuel Walters wrote in message ... > >Not quite sure what "U" mode is, but try adding the "b" mode when opening FYI, 'U' is universal newline mode, which will quietly convert the newline convention of a file into '\n'. I think it has some rudamentary ability to handle mixed-convention newline ugliness. See the documentation on file() in the library reference, and there's a PEP on the feature, too. -- Francis Avila
- Previous message (by thread): readling newlines
- Next message (by thread): Running pydoc from the Windows XP command line (dos box)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list