Getting the python built environment

Python is a cross-platform computer programming language. Is a dynamically typed object-oriented language, originally designed for writing automated scripts (shell), constantly updated with the addition of new features and language versions, is used for the more independent, large-scale development projects.
Before learning python, python environment needs to be installed on the computer needed.
The first step : Install the python interpreter
download the latest version of the official website (versions 3.5 or more can be used)
official website address is: http: //www.python.org
installation process:
1. Select Custom in the first interface options, and be sure to select the following add to path options, choose the option because they do not have to manually after adding the python environment variable.
Here Insert Picture Description
2. Check All
Here Insert Picture Description
3. advanced configuration options, as shown in check, the installation path C is preferably not installed in the disk
Here Insert Picture Description
4 installed in the final end of the interface, must click disable path length limit, the system automatically disables Path length limit.
Here Insert Picture Description
5. In cmd you can see if installed, as shown in
Here Insert Picture Description
Step Two: you can choose a handy text editor, in this recommendation sublime.
The third step : Choose a blank folder of python code that specialized storage, convenient later,
the fourth step : in the folder where the new text document, the suffix to .py, in the open (in this case, can be sublime with the sublime installation package to find the "Add / Remove right-click menu" and then run as an administrator, then you can use the sublime directly in a text document open), after you write code, test in cmd.

Published 17 original articles · won praise 2 · Views 374

Guess you like

Origin blog.csdn.net/qq_44487069/article/details/104375405