CATEGORIES

How to Install Python on Windows 10

With default Windows doesn’t include Python. For most developers, it’s highly important to set up a python development environment. For beginners, it is not a tough situation yet! As windows provide and compile basic things just generally. Now in this guide, We gonna setup python on a windows 10 computer with all the essential tools.

Released in 1991, Python is a popular high-level programming language used for general purpose programming. Mostly loved by hackers and Almost millions of online programs and other stuff run on this simple language.

You might be a beginner to python programming language. Now it’s a basic procedure to install python on windows first. When you visit the official download page you might notice different version are ready to download there.

As a beginner, it might a bit confusing to “Install Python on Windows 10”. But do not bother to accept the new one.

But as the page get loads you can see the different version which is completely based on a different bit of windows os. Basically, there are just like other software which are updated day-to-day. The higher you go the more features you get. But the loop here is that the features available in the latest versions are not runner or compiled properly in the low version.

From my point, I can say you to just download both the versions. Yes! your operating system has no difficulties in it. But if you are satisfied with only one, Then just move up with the latest version which you can find there.

Now just find the latest.exe file with both “x86-64”  executable installer, as seen below. With this installer, You can access Python on any windows computer running both 32 – 64 BIT.

How To Install Python On Windows 10

Now that you might be completed the download process. Then just double tap on the file to begin the installation process. As I’ve are windows users, It’s our need to accept the installation just by click yes on the notification box.

Now the setup makes all the files get ready for the installation and then ask’s you to choose whether to install python for all users on the computer or not.

Then just follow up the instructions and complete the installation process. As you have no need of choosing the better options. Once you have successfully completed the installation just open CMD (Command Prompt) with administration rights and type in the below command to open the app.

python -V

How to Install Python 3 On Windows 10

You can download old and the latest version of python on a single windows pc side-by-site with no issues. Now On the first screen, enable the “Add Python 3.6 to PATH” option and then click “Install Now.”

Next, you have a decision to make. Clicking the “Disable path length limit” option removes the limitation on the MAX_PATH variable. This change won’t break anything, but will allow Python to use long path names. Since many Python programmers are working in Linux and other *nix systems where path name length isn’t an issue, turning this on in advance can help smooth over any path-related issues you might have while working in Windows.

We recommend go ahead and selecting this option. If you know you don’t want to disable the path length limit, you can just click “Close” to finish the installation.

Now to open Python 3 just type “python -V” in command prompt which is just similar to the above version too. So if you have installed both the versions then you need to change some simple tweaks.

Adjust System Variables In Windows 10, So You Can Access Both Python Versions From the Command Line

Though the complete tutorial here includes optional choice, But one can easily use two versions of python with same command line “python -V”. Here’s how to make it done.

The reason here is just simple. With the following tweak the variable gets configured with the two directories of python and runs all the python.exe files at a time.

Go to Start, type “advanced system settings,” and then select the “View advanced system settings” option. In the “System Properties” window that opens, on the “Advanced” tab, click the “Environment Variables” button.

Here, you can see Python 3 listed in the “User variables” section and Python 2 listed in the “System variables” section.

There are a few ways you can remedy this situation. The simplest (albeit the one with the least functionality) is to just remove the entry for the version of Python you plan on using the least. While that’s simple, it’s also not very much fun. Instead we can make another change that will give us access to “python” for Python 2 and “python3” for Python 3.

To do this, fire up File Manager and head to the folder where you installed Python 3 (C:\Users\[username]\AppData\Local\Programs\Python\Python36 by default). Make a copy of the “python.exe” file, and rename that copy (not the original) to “python3.exe”.

Open a new command prompt (the environmental variables refresh with each new command prompt you open), and type “python3 –version”.

Boom! You can now use the “python” command at the Command Prompt when you want to use Python 2.7 and the “python3” command when you want to use Python 3.

You may be interested

How To Use Animated Images (GIF’s) On FaceBook
Flout's Post's
0 shares5 views

How To Use Animated Images (GIF’s) On FaceBook

Sandeep Reddy - Jun 19, 2017

FaceBook got a huge response over Animated Images. Most of the Facebook pages attracts their users by sharing gifs on their walls. Most…

Here’s How To Install TOR Browser In Kali Linux
Applications, Computer, How To
0 shares28 views

Here’s How To Install TOR Browser In Kali Linux

Sandeep Reddy - Jun 11, 2017

Now that you might be using "Kali Linux" as your default operating system or as a virtual machine. Want to hide your IP…

Top 5 Best Anti Ransomware Tools of 2017
Os, Privacy, Security
5487 shares56970 views

Top 5 Best Anti Ransomware Tools of 2017

Sandeep Reddy - Jun 10, 2017

With the recent attack of WannaCry, Thousands of computers have been infected. This made a humungous loss in various fields. Now its your…

Leave a Comment

Your email address will not be published.

two × three =

Most from this category