Skip to content

Latest commit

 

History

History
76 lines (40 loc) · 2.28 KB

File metadata and controls

76 lines (40 loc) · 2.28 KB

Installing Python 3 - Windows

Back to Syllabus

Start by heading to the Python dowload page

Click the yellow download button to download the latest version of Python:

alt text

You should see something like this at the bottom of your browser:

alt text

Once the download completes open the downloaded file.

This is the first window you should see. Our first step is to click the "Add Python to PATH" checkbox.

Attention!

Failure to add Python to the PATH may result in strange errors that will require reinstallation of Python as the easiest fix.

alt text

Next we want to click on install now.

alt text

Wait for the installation process to do its thing

alt text

Finally we should see a window like this. You can click close now.

alt text

Now let's verify everything is working properly. Open your powershell by opening your start menu and typing powershell. You should see something similar to this:

alt text

After clicking on PowerShell we should see a window like this one:

alt text

Now lets type the command py and press enter:

alt text

You should see something similar to this with your python version displayed.

alt text

You should also see >>> towards the bottom. This means you are now inside your python interpreter.

alt text

Now that we are inside our python interpreter we can run python commands. Let's try one. Type: print("Hello World") inside your PowerShell and press enter:

alt text

Your PowerShell should output the message "Hello World"

alt text

To exit out of your Python interpreter just type exit() and press enter:

alt text

Now you are back in your normal PowerShell

alt text

Congratulations you have successfully installed Python!