Yes there is, its cmd.exe taskkill can kill cmd.exe for you. If you need to be able to terminate it using a custom name, start the script using the start
command, which allows you to give your program a unique title.
Lets assume you used MyApp Test as title by starting your script as follows:
start "MyApp Test" c:\python.py
Now you can kill your script using:
taskkill /f /FI "WINDOWTITLE eq MyApp Test"
Alternatively, but a bit risky, you probably can kill the task directly using the following command:
taskkill /f /FI "WINDOWTITLE eq *cmd.exe - SAM"
EDIT:
As and31415 points out, the /f switch is not necessarily needed. It is used to force killing a task. This means that if a python script is no longer responding, the /f will still kill it, while without /f it might not. Try without and if it works, decide if you want to forcefully kill it or not.
taskkill /fi "windowtitle eq C:\Windows\system32\cmd.exe - SAM"
(titles are not case-sensitive).