Install Python in Windows
Check Already Installed Versions
In PowerShell execute the following command
python
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
If the command doesn' produce similar output it means that Python is not installed, or it is installed but the python.exe file' location is not mentioned in PATH
Download
You can download the latest stable version on the official
Python website
Select the version and find the file you need in the table.
The recommended version is Windows installer (64-bit)
The downloaded file will be called something like this
python-3.XX.XX-amd64.exe
For example, python-3.10.10-amd64.exe
Installation
You can start the installation by double-clicking on the .exe file.
I recommend adding
python.exe
to the
PATH variable
Installing Python
Wait for the installation to finish
Installing Python
If successful, a similar message will appear
Installing Python
The following materials are offered for study:
Online tutorial
Documentation
Using Python on Windows
File Location
If Python was installed for a specific user, then python.exe will be located in AppData
C:\Users\Andrei\AppData\Local\Programs\Python\Python310
Instead of Andrei, there will be the name of the user for whom Python is installed
Article author: Andrei Olegovich