This tutorial is going to assume you are using Windows 10 because it is originally written for my friend and he uses Windows 10 :)
You will get the most out of this guide if you follow along while you read. Use the Python interactive terminal as you go through the material, and write programs where instructed. Do the homework! Programming is a craft and you will not improve by thinking about it. You must do.
First thing's first, go download Python.
Once the installer has downloaded, run it. You will see a screen like this:
Make sure Install launcher for all users (recommended)
, and Add Python 3.10 to PATH
are selected.
Then go ahead and press Install Now
. After the installation runs it will prompt you to Disable path length limit
, do so. Once that is done you can close the window.
If you already have PowerShell running, close it. That's important - seriously.
From the Start menu, search for and open Windows PowerShell. You will see something like:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\username>_
Enter the following
python --version
You should see something like this
PS C:\Users\D\username> python --version
Python 3.10.2
If you do not see this message, you have either not installed Python correctly or it is not on your PATH.
We are also going to download VS Code.
Once it is downloaded, run the installer. It should be fairly straightforward. If the installer prompts you to, I recommend registering VS Code as your default editor for basically everything, and enabling "Open with VS Code" on right click for both files and directories.
You have now installed Python and VS Code and are ready to continue to Lesson 1. It can be found in the Lesson1 folder above.