I have this nice script I use to kill all python processes. I use it since I parallelize a lot:
#!/bin/bash kill $(ps aux | grep \'python\' | awk \'{print $2}\')