shutil.copy Problem
John Nagle
nagle at animats.com
Tue Mar 27 12:47:06 EDT 2007
Facundo Batista wrote:
> David Nicolson wrote:
>
>
>>Thanks, but it's definitely not the print. In original the code the
>>print statements are replaced by a call to a log method.
>>
>>Besides, the exception would be different if it was thrown outside of
>>the try block.
>
>
> The best you can do is take the piece of code that has the problem, show
> it to us, and then copy the traceback.
>
> Regards,
There may be some problem here with a file being recognized as Unicode
in binary mode. That shouldn't happen, but looking at the Windows
UNICODE support, it might not be impossible.
Information needed:
- Platform (Windows, Linux, ...)
- Python version
- A hex dump of the first few bytes of the input file.
John Nagle
More information about the Python-list
mailing list