How To Set Up Python On Windows 10
Installing and using Python on Windows ten is very simple. The installation procedure involves only three steps:
- Download the binaries
- Run the Executable installer
- Add Python to PATH environmental variables
To install Python, you demand to download the official Python executable installer. Next, you need to run this installer and complete the installation steps. Finally, you tin configure the PATH variable to use python from the control line.
You can choose the version of Python you wish to install. Information technology is recommended to install the latest version of Python, which is 3.vii.3 at the fourth dimension of writing this article.
Step ane: Download the Python Installer binaries
- Open the official Python website in your web browser. Navigate to the Downloads tab for Windows.
- Choose the latest Python 3 release. In our case, we choose the latest Python 3.seven.iii version.
- Click on the link to download Windows x86 executable installer if you are using a 32-bit installer. In case your Windows installation is a 64-bit system, then download Windows x86-64 executable installer.
Footstep 2: Run the Executable Installer
- Once the installer is downloaded, run the Python installer.
- Check the Install launcher for all users check box. Farther, you may check the Add together Python 3.7 to path check box to include the interpreter in the execution path.
- Select Customize installation.
- Documentation
- pip
- tcl/tk and IDLE (to install tkinter and IDLE)
- Python test suite (to install the standard library test suite of Python)
- Install the global launcher for `.py` files. This makes it easier to first Python
- Install for all users.
- This takes you to Avant-garde Options bachelor while installing Python. Hither, select the Install for all users and Add Python to environment variables check boxes.
Optionally, you tin select the Associate files with Python, Create shortcuts for installed applications and other advanced options. Make note of the python installation directory displayed in this pace. Y'all would need information technology for the next step.
Later on selecting the Advanced options, click Install to start installation.
- One time the installation is over, yous will encounter a Python Setup Successful window.
Cull the optional features by checking the following check boxes:
Click Next.
Step 3: Add Python to ecology variables
The concluding (optional) step in the installation process is to add Python Path to the Organization Environment variables. This step is washed to access Python through the command line. In case you take added Python to environs variables while setting the Advanced options during the installation process, you can avoid this pace. Else, this step is done manually every bit follows.
In the First menu, search for "advanced system settings". Select "View advanced organization settings". In the "Arrangement Properties" window, click on the "Advanced" tab and and then click on the "Surround Variables" button.
Locate the Python installation directory on your organization. If you followed the steps exactly as above, python will be installed in beneath locations:
- C:\Plan Files (x86)\Python37-32: for 32-bit installation
- C:\Program Files\Python37-32: for 64-bit installation
The folder name may be different from "Python37-32" if you lot installed a unlike version. Look for a binder whose name starts with Python.
Append the following entries to PATH variable as shown below:
Stride 4: Verify the Python Installation
You have now successfully installed Python iii.seven.3 on Windows 10. You lot can verify if the Python installation is successful either through the control line or through the IDLE app that gets installed forth with the installation.
Search for the control prompt and blazon "python". Yous can see that Python 3.7.3 is successfully installed.
An alternate manner to attain python is to search for "Python" in the first card and clicking on IDLE (Python 3.7 64-scrap). You can start coding in Python using the Integrated Development Environment(IDLE).
Hurray! You are gear up to start developing Python applications in your Windows 10 system.
How To Set Up Python On Windows 10,
Source: https://www.journaldev.com/30076/install-python-windows-10
Posted by: salazarequady72.blogspot.com
0 Response to "How To Set Up Python On Windows 10"
Post a Comment