[Pythonmac-SIG] Fwd: runnig code step by step
bob at redivi.com
Wed Feb 15 20:05:55 CET 2006
The easiest way is to change the text to say "press return to
continue". The problem is that stdin defaults to reading a line at a
time (at the OS level), and you have to go through a lot of trouble
fiddling with obscure terminal settings if you want to be able to
capture individual characters. It's really not worth doing in most
On Feb 15, 2006, at 10:43 AM, Perico wrote:
> Hi guys!!!
>> I have that piece of code:
>> while 1:
>> a=raw_input("Press a key to continue")
>> I'd like to change the last line, I don't want to control a key
>> press if not I want to control a button of the form
>> My question is if somthing exists to control the push button event.
>> See you. Peter.
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
More information about the Pythonmac-SIG