On Sun, Jun 14, 2009 at 12:24 PM, Bruce Labitt<bruce.labitt at myfairpoint.net> wrote: > Does f.read(n) error if the function hits eof? If not how can I determine > when I hit eof? IIUC read(n) returns <n bytes if it hits EOF. Kent