Python learning 01, python01
Python download, installation, editor, first program
1: python 3.6.3 (the latest version) can be directly downloaded from the python official website (windows version): https://www.python.org/downloads/windows /.
2: directly install python in windows, configure the python environment variables, and enter python in cmd to write the python program. For more information, see http://www.cnblogs.com/programmer-tlh/p/5733279.html.
3: editor I chose here with Pycharm (https://www.jetbrains.com/pycharm/), you can also use eclipse but need to install plug-ins (http://www.cnblogs.com/Devopser/p/6423633.html), I personally recommend using Pycharm, because the eclipse plug-in is not very useful in prompts and completion, I personally do java Development and now basically don't need eclipse, and I started to use Intellij idea editing tool, which is also very useful, it depends on everyone's habits.
4: Pycharm basic usage
4.1: first, select "Pure Python" for "file-newProject", "Location" as the project storage address, and "Interpreter" as the python version of the compilation program. Of course, you can configure multiple python compilers, when you click create, you will be prompted to create a new workspace and a new workspace.
4.2: Right-click the project you just created and select new-Python file. Now you can write python code.
5: the first program (Hello world)
Print ("Hello World ");
Right-click run to run the program. The console will output Hello World
Let's talk about python2.7.
Print "Hello World ";