Python for Beginners: Install Python on Windows

Posted by I. B. Gd Pramana A. Putra, 06 Oct 22, last updated 09 Oct 22

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

  1. 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"
  2. On this page, scroll down and look at the "Files" section that includes Python files available for you to download.
  3. 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.. download python for windows

Step 2. Run Python executable file

  1. Once you downloaded the installer file, execute the installer, e.g: python-3.10.7-amd64.exe
  2. Check option Install launcher for all users, and most important Add Python 3.10 to PATH, and select Customize Installation install python in windows
  3. For "Optional Features", feel free to checklist any options that you prefer, or let the Python installer decides it for you
  4. 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. centang opsi install python
  5. Let's proceed by clicking Install button.

Step 3. Verify (make sure) Python has been installed in Windows

  1. After successfully installed Python, it will display the following information: Succeed installing Python
  2. (Recommended) restart your Windows device (PC/Laptop) for it to take affect and make sure Python has been added to the PATH/Environment Variables.
  3. To verify the installation, open CMD on Windows-mu dan type python, then on the next line, type hello world. Verify Python version in Windows

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.

Answer & Responses
    No comments yet

Wanna write a response?

You have to login before write a comment to this post.