How to read stdin while debuggingin PythonWin

cmedcoff at my-dejanews.com cmedcoff at my-dejanews.com
Fri Apr 30 10:41:09 EDT 1999


>
> Im not sure why this would be different under the debugger, but when I try
> that from the Pythonwin window I get:
> >>> sys.stdin.read()
> Traceback (innermost last):
>   File "<interactive input>", line 0, in ?
> IOError: [Errno 9] Bad file descriptor
> >>>
>

This is exectly what I observed when aborting the debug process.  Any plans to
correct this and provide a place for stdin under the debugger.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




More information about the Python-list mailing list