In Windows, if the path is set, the python command prompt can be opened using the command python.To exit the command prompt, Ctrl + Z can be used to exit.
In Unix / Linix, Ctrl + D can be used to exit.
Starting the Python Interpreter
#Unix
$python
$python%
#Windows
C:>python
Running a python script
#Unix
$python script.py
$python% script.py
#Windows
C:>python script.py