Is there a simple way to exit a while loop on keystroke?

gsxg rhauff at
Fri Aug 31 20:11:58 CEST 2007

The curses library doesn't look to helpful to me.  However using CTRL-
C is fine and is working nicely.

BTW, it should be "time.sleep(1)" in the example above, instead of
"sleep(1)"  (Just in case any other newbies like me read this)

Thanks again

More information about the Python-list mailing list