blog posts

Learn how to download Python and install Python 2 and 3

Python programming language is not installed on your system by default. But that does not mean that programmers can not use the services provided by Python.

Python programming language was first released in 1991. This programming language gained its popularity in the presence of programmers from the very beginning of its work. This programming language has a very beautiful design and this is why it has a high readability.

Python programming language, while very simple, has a very high readability. Python is a multi-purpose programming language with many libraries. You can get acquainted with projects that can be run with Python with just a short search. But before that, you have to download and install Python.


What version is needed to download Python?

What version is needed to download Python?

Over the past few years, a major update to the Python programming language has occurred that has brought about tremendous changes to the Python programming language. This can be a bit of a hassle for those trying to download Python who do not know exactly what version to download.

In this article, we want to introduce you to how to download Python and how to install Python.

When you enter the download page to download Python, you will encounter two different versions. These versions are in the following order.

  • 3.6.1
  • 2.7.13

Users who intend to download Python and use Python usually point out that the latest update is the best version. But this is incorrect in this regard. It is best that you download both versions. Downloading both versions causes both to support each other’s code.

You can also check both versions if you have written the same code and make sure they are compatible. If you are sure that one version is enough for you, you can download and install only the version you need.

On the page you are redirected to, select the 32-bit or 64-bit version depending on your version of Windows. If you select the X86-64 version, the installer will install the 32-bit or 64-bit version.


Python download tutorial

 Using this link ( download python ) you can download Python

Method one: Install Python

This version is very easy to install. To do this, it is better to install Python in the first step, and after that, be sure to activate the install for all users option.

Download Python

In the following, you will encounter the personalization part. Enable the Add python.exe option. Then activate the Will Be Installed on Local Hard Drive option. Then click next.

After installing Python, open the Windows command prompt or cmd. After the command line box opens, type the following code in the black field.



The second method is to install and download Python

If you want to install the latest version of Python and use the latest programming code, it is better to install Python 3. This version works perfectly with Python 2.

After downloading Python version 3, run it and then click Add Python 3 to PATH and click on install now.


Download Python and install Python


In this section you can click on Disable Path Length Limit and remove the necessary restrictions for the variable max_path.

This will help you to ask Python to use long codes and paths. Developers who use Python for their programming typically use Linux systems for their work.

Enabling the Linux feature in the Windows operating system is one way you can get help from the code path.

Therefore, we suggest that you use the Linux system for Python programming. However, if you do not intend to have this feature, you can select the close option.


Python download tutorial


After this, open the command line or CMD and type the following code and finally confirm.



Access both versions with cmd

Using this part is completely optional and it does not matter much. However, it is effective and helps you to access the two versions of Python from the syntax.

By installing both versions of Python, typing python in the Windows command prompt will activate version 2.7 of Python, and you will not be able to use Python version 3 via CMD.

This is because the variable is centered on one side and identifies each executable file with a command code. If there are two paths, the variable uses a path that has higher variables. There is always the case that the variable created for the system gives more importance to the user variable.

Environment Variables

The fact is that Python 2 is a variable for the system. Python 3 is also a variable for the user. You can see this by looking at Environment Variables.


Python installation tutorial


To see this, you can go to the Start menu and type Advanced System Settings, and then select View Advanced System Settings. In the System Properties section, you can select Advanced and enable the Environment Variables option.

In the next section, you can see that Python 3 is in the user section and Python 2 is in the system section.


The fastest way you can do this is to delete the variables to use the command code that you need in the Python version you need. But there is a better solution that you can have two versions together.

To do this, open your lead file and make a copy of your Python.exe file from your Python file and rename it Python 3. Then open the cmd command code and enter the suggested code and finally confirm.



Download Python and install Python



By typing python in cmd, you will also enable Python 2 and have the ability to use the Python 3 version.