Whenever I try to redirect the output (e.g. foo.py >foo.txt) of a Python script in Console 2 (148), I get the following partial error-message (and an empty output-file):
close failed in file object destructor:
Error in sys.excepthook:
Original exception was:
Running the exact same command in cmd.exe works like I'd expect. If it's at all relevant, I'm running Windows 7 64-bit.
I see that someone else posted a similar bug for Perl scripts, but it was closed as invalid...?
Log in to post a comment.