There are several ways to stop a Python script from running:
Yes, there are a few ways to kill a thread in Python.