How to stop/terminate a python script from running?

hi guys. i am running a python code on raspberry pi3. Everything is running well but only thing which is annoying me is the continuous running of the python program. for exiting from the python program i need to close the terminal window and open terminal again then locate to the folder and run the python program again. i know this cannot be the right way to do this and it is time consuming. what to do if i want to terminate the program withtin single terminal window. 

[original story: Circuit Digest]

Circuit Digest 12 Jul 13:58