Finding nonprintable characters?
Steven Majewski
sdm7g at Virginia.EDU
Tue Feb 19 14:42:12 EST 2002
More information about the Python-list mailing list
Tue Feb 19 14:42:12 EST 2002
- Previous message (by thread): Finding nonprintable characters?
- Next message (by thread): Finding nonprintable characters?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I meant to add: The reason for doing read rather than readlines or xreadlines is that if it's a binary file, your 'lines' could be very long... Also: you could filter for CR and LF and count those per block as an additional test -- although there may be autowraped text files that are also made of a couple very long 'lines' . -- Steve Majewski
- Previous message (by thread): Finding nonprintable characters?
- Next message (by thread): Finding nonprintable characters?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list