"Richard D. Moores" <rdmoo...@gmail.com> wrote

Please see <http://tutoree7.pastebin.com/f3TaxDBc>.

I'm trying to recall what I used to know, thus this simple script. But 'y'
or 'q' do nothing. What's wrong?

I don't think you need kbhit() or the sleep(.1)
The if kbhit test will only pass if the key is actually hit at that time.
Often it won't be so you will miss it.

I think getch() will wait for a key to be hit.

But thats from memory and I'm too busy to try it out right now.

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to