In <6e030fd0-93c1-4d23-8656-e06c411b6...@googlegroups.com> chris alindi
writes:
> simple while loop range(10) if user press esc exits loop
range() is typically used with for loops, not while loops.
what is your while condition?
what use is the range() value?
--
John Gordon
On Sun, 23 Oct 2016 14:34:29 -0700, chris alindi wrote:
> simple while loop range(10) if user press esc exits loop
If I understand you correctly you want to exit a while loop
with the ESC key. That can be done but it depends on the
platform. For Windows use this: (not tested)
import msvcrt
wh
On Mon, 24 Oct 2016 08:34 am, chris alindi wrote:
> simple while loop range(10) if user press esc exits loop
Your post is not a question nor even a grammatical sentence? Would you like
us to guess what you mean? Or perhaps you could ask your question in actual
proper sentences?
If English is no
simple while loop range(10) if user press esc exits loop
--
https://mail.python.org/mailman/listinfo/python-list