detecting newline character

Daniel Geržo danger at rulez.sk
Sun Apr 24 04:21:45 EDT 2011


On 24.4.2011 9:05, jmfauth wrote:
> Use the io module.

For the record, when I use io.open(file=self.path, mode="rt", 
encoding=enc)) as fobj:
my tests are passing and everything seems to work fine.
That indicates there is a bug with codecs module and universal newline 
support.
-- 
S pozdravom / Best regards
 Daniel Gerzo


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /