raw_input and break
input/ldompeling at casema.nl
input/ldompeling at casema.nl
Wed Nov 4 16:44:45 EST 2015
I have an continues loop with "while True:"
Now I want to use "raw_input" and when I press "s" on the keybord that it will
"break" the continues loop.
I tried:
choices = raw_input
if choises == s:
break
But even when I not press "s" it "break"
I want that I not press "s" the script continues.
Any ideas ?
Thanks
--
--------------------------------- --- -- -
Posted with NewsLeecher v7.0 Beta 2
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -
More information about the Python-list
mailing list