[Idle-dev] problems with IDLE sys.stdin
jlearman at cisco.com
Sun Sep 5 17:23:54 CEST 2004
When running under DOS, sys.stdin.readline() is valid.
When running under IDLE, I get an attribute error when I try it.
Also, I want to use msvcrt.getch() & getche() but they don't
block as documented in Python docs section 22.1.2 (Console I/O).
For example, this program:
print "prompt: ",
ch = msvcrt.getch()
generates this output, without hitting any keys:
It should block after printing "prompt: ", and only print the third line
after a key is pressed.
Sorry if this is a known issue, but there's no search option for
the idle-dev archive.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IDLE-dev