kill all python processes ubuntu

Shell
sudo pkill python
sudo pgrep python
Source

Also in Shell: