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.
2. Check All
3. advanced configuration options, as shown in check, the installation path C is preferably not installed in the disk
4 installed in the final end of the interface, must click disable path length limit, the system automatically disables Path length limit.
5. In cmd you can see if installed, as shown in
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.
Getting the python built environment
Guess you like
Origin blog.csdn.net/qq_44487069/article/details/104375405
Recommended
Ranking