On Fri, Sep 17, 2010 at 10:06 AM, MRAB <python at mrabarnett.plus.com> wrote: > You're not closing f_in. That line should be: Although this _could_ be the problem (buffers not being flushed and the file being properly closed, etc) it could be something else... --James -- -- James Mills -- -- "Problems are solved by method"