Skipping EOFs when using file objects?

Colin Cashman ccashman at attbi.com
Wed Nov 27 21:32:10 EST 2002


I'm building a decoder for yEnc files, but I'm hitting premature EOF 
characters (that is, I'm only 300 or 400 bytes into the file, when the 
file size is around 950 bytes).

Is there any way, without resorting to file descriptor operations, to 
configure a file object such that it skips over those premature EOF 
characters?

-- 
I am Jack's obfuscated source code.




More information about the Python-list mailing list