Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is there a simple way to exit a while loop on keystroke?
- From: rhauff at gmail.com (gsxg)
- Subject: Is there a simple way to exit a while loop on keystroke?
- Date: Fri, 31 Aug 2007 18:11:58 -0000
Thanks, 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 just "sleep(1)" (Just in case any other newbies like me read this) Thanks again
- Follow-Ups:
- Is there a simple way to exit a while loop on keystroke?
- From: Arnaud Delobelle
- Is there a simple way to exit a while loop on keystroke?
- From: half.italian at gmail.com
- Is there a simple way to exit a while loop on keystroke?
- References:
- Prev by Date: [python 3.0] reload() gone?
- Next by Date: Joining Big Files
- Previous by thread: Is there a simple way to exit a while loop on keystroke?
- Next by thread: Is there a simple way to exit a while loop on keystroke?
- Index(es):