Code: Alles auswählen
while True:
try:
print "running"
except KeyboardInterrupt:
print "stopped"
Ich muss mein Programm dann immer brutal über den Task-Manager killen. Wieso? Und kann man das Verhalten irgendwie ändern?
Code: Alles auswählen
while True:
try:
print "running"
except KeyboardInterrupt:
print "stopped"