I'm trying to kill (on a demand) all the python processes that are running at the moment.  

I was using this command: 

```
from subprocess import call  
call('pkill python', shell=True)  
print 'Killed them all!'

```

But, of course - my program is also a python program, so eventually, it doesn't reach the print line after calling 'call'. 

What can I do in order to avoid my program to kill also itself, while killing all other python processes?  

Thanks.