I wrote a program in IDLE to tokenize text files and it starts to tokeniza 349 text files! How can I stop it? How can I stop a running Python program?
Ctrl-Break it is more powerful than Ctrl-C
you can also use the Activity Monitor
to stop the py process
To stop your program, just press CTRL + D
or exit()
.
Press Ctrl+Alt+Delete and Task Manager will pop up. Find the Python command running, right click on it and and click Stop or Kill.