https://keroseneheaterreview.blogspot.com/2022/06/emacs-kill-running-python-script.html
Emacs: Kill Running Python Script