So im making a script in python. The script runs off hotkeys to start the script but i dont know how to stop the script mid way through.
The way people are doing it i