Before starting to write some Python codes along the journey, it's recommended for you install Python executable in which there are dependencies, interpreter, and libraries that allows you to run Python in a Windows environment.
However, if your Windows device is already equipped with Python version 3.8, then you can skip this episode.
How to Install Python on Windows
This is the step by step to install Python on Windows, just follow it thoroughly, they are simple to follow with screenshots and detailed explanations.
Step 1. Download Python installation binary
- Visit Official Python downloads for Windows, and then download the Python binary by clicking the most upper link "Latest Python 3 Release - Python 3.10.7"
- On this page, scroll down and look at the "Files" section that includes Python files available for you to download.
- Choose (32-bit) if you're using a 32-bit system device, otherwise, choose 64-bit Windows Installer (64-bit) if you're using a 64-bit system..
Step 2. Run Python executable file
- Once you downloaded the installer file, execute the installer, e.g:
python-3.10.7-amd64.exe
- Check option Install launcher for all users, and most important Add Python 3.10 to PATH, and select Customize Installation
- For "Optional Features", feel free to checklist any options that you prefer, or let the Python installer decides it for you
- For "Advanced Options", checklist Install for all users, Associate files with Python, Create shortcuts for installed applications, Add Python to Environment Variables, and Precompiled standard libraries.
- Let's proceed by clicking Install button.
Step 3. Verify (make sure) Python has been installed in Windows
- After successfully installed Python, it will display the following information:
- (Recommended) restart your Windows device (PC/Laptop) for it to take affect and make sure Python has been added to the
PATH/Environment Variables
. - To verify the installation, open CMD on Windows-mu dan type
python
, then on the next line, typehello world
.
Python is successfully installed
Selamat, dengan demikian Python sudah terpasang pada perangkat Windows-mu. Selanjutnya kamu dapat melanjutkan pembelajaran tutorial Python untuk Pemula.
Congratulation on successfully installing the Python programming language for your Windows device. The next step is to continue to learn our comprehensive Python for Beginners tutorial.
Hopefully, the Install Python on Windows tutorial episode is helpful.
No comments yet
Wanna write a response?
You have to login before write a comment to this post.