Steve Holden wrote: > First of all, verify that you are opening the file in binary mode. Not > doing this is the biggest cause of problems for Windows users, which the > intermittent failure makes me suspect you may be. > > regards > Steve
Right on all counts. I am on Windows and I was not opening the file in binary mode either for input or output. I am amazed that it worked at all. Thanks for the suggestion. -- Jeffrey Barish -- http://mail.python.org/mailman/listinfo/python-list