See all running Python processes with:
pgrep python
Then you can see the specifics for any of those processes with:
ps -f -p replace_with_process_id_number
Then you can kill any running processes with:
sudo kill replace_with_process_id_number
You may be prompted for your system password.