Download and install Python from: https://www.python.org/

Check python is installed

Enter below command in command prompt to check python is installed.
python --version

Python files are created with .py extension.