Installing Python
Now, let’s get Python installed on your machine. This works a little differently for each operating system. Let’s walk through it.
First, these are the steps for Windows users:
- We’ll start by downloading Python:
- Go to the official Python website: python.org
- Click on the Download Python 3.x.x button. There are many versions that will work, but I’d recommend grabbing the latest stable release. The x.x is not literal; I just cannot include it in a book because the numbers change so fast.
- Now that we have the executable downloaded, we can run the installer:
- Open the downloaded
.exefile. - Important: Check the box that says Add Python 3.x to PATH. This makes it easier to run Python from the command line.
- Click on Install Now.
- Open the downloaded
- Verify the installation:
- If you have the Command Prompt still open, close it.
- Open Command...