How to stop/terminate a python script from running?

后端 未结 16 1747
-上瘾入骨i
-上瘾入骨i 2020-12-02 13:46

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?

相关标签:
16条回答
  • 2020-12-02 14:48

    Ctrl-Break it is more powerful than Ctrl-C

    0 讨论(0)
  • 2020-12-02 14:48

    you can also use the Activity Monitor to stop the py process

    0 讨论(0)
  • 2020-12-02 14:48

    To stop your program, just press CTRL + D

    or exit().

    0 讨论(0)
  • 2020-12-02 14:49

    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.

    0 讨论(0)
提交回复
热议问题