After installing Python, now you are ready to run Python.
Open terminal (Mac, Linux) or Command prompt (Windows). type "Python". To exit, ctrl + C or type exit().
:wq
Create a file sample.py with following content.
print('My first file')If you are on Linux, you can execute
echo "print('My first file')" >> sample.py
. then, run
python sample.py
