0

Infinite loop in python

How to stop an infinite loop in python console without exiting ??

14th Jan 2019, 6:47 PM
FergHost
FergHost - avatar
5 Réponses
+ 7
Windows: ctrl + c.
14th Jan 2019, 6:50 PM
HonFu
HonFu - avatar
+ 6
Linux: also Ctrl + C.
14th Jan 2019, 7:10 PM
Anna
Anna - avatar
+ 2
I wrote a GUI in Tkinter. To stop the Program there is a hidden Button in the upper right Edge. Maybe you can scan the Keyboard and abort the Execute when a defined Key is pressed down.
14th Jan 2019, 8:55 PM
Sebastian Keßler
Sebastian Keßler - avatar
+ 1
There is key combination that make keyboard assertion error Ctrl + C
14th Jan 2019, 9:07 PM
Andrej Zrnic
Andrej Zrnic - avatar
+ 1
ok thank you guys
16th Jan 2019, 3:03 PM
FergHost
FergHost - avatar