How to stop python script?

Another naive question: What is preferred way to stop python script? For example, I got the Navio mounted on the RPi and ran the example:
cd Navio/Python/Barometer
sudo python

When I search, I see suggestions to find out its process number and “kill” it, but my attempts to do so over ssh login, don’t work.So my screen is scrolling:
screen image of Barometer

Tried to add image of the screen, but url didn’t work.

strg-c or ctrl-c should stop the script. Sometimes python keeps running in the backround, if you do not have anything other python related running, you can try “sudo killall python”.
“sudo kill (processnumber)” should also work.