Python is not usually included by default on Windows, however we can check if any version exists on the system. Open the command line–a text-only view of your computer–via PowerShell which is a built-in program.

Go to Start Menu and type “PowerShell” to open it.

Type the following command and hit the Enter/Return key:

$ python --version
Python 3.7.0

If you see output like this, Python is already installed. But most likely it is not. So…let’s install Python.

Installing Python 3

Go to the downloads section of the official Python website. Download the installer and make sure to click the box on the bottom of the page for the Add Python 3.7 to PATH option, which will let use use python directly from terminal. Otherwise we’d have to enter our system’s full path and modify our environment variables manually. In other words, it’ll be a nightmare. Trust me. Check click the box and you’ll save yourself a world of headache.

Python Installer

After Python has installed close PowerShell. Then re-open it and try our command again. You should see the following:

$ python --version
Python 3.7.0

The version number might be slightly different than mine, 3.7.0, but the important thing is that Python 3 is now installed!

To prove it to yourself, trying typing python to open the Python interpreter. And then type print("Hello, World") and hit Enter/Return. It should print out Hello, World on a new line.

$ python
>>> print("Hello, World")
Hello, World

Want to improve your Python? I have a list of recommended Python books.