Run a python program from the command line

python myprogram.py

Force close a program run from the command line

CTRL+Z