First:
Download Python, official 3.6.2 version download link: https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64.exe
3.6.2 Domestic Mirror, Baidu network disk download link: https://pan.baidu.com/s/1c1YlPPe
The latest version can go to the official website to view, and then according to your own choice, the official link: https://www.python.org
Second:
Install Python, preferably installed in a path that does not contain Chinese. Run to download the Python-3.6.2-amd64.exe, remember to tick "ADD Python 3.6 to PATH".
If you do not check this option, you will have to manually add it to the PATH environment variable when you are finished installing it.
After the installation is complete, run CMD.
Enter Python If the following interface appears, indicating that the installation was successful.
Python interpreter
Python source code files have a. py extension, and a Python interpreter is required to run the Python source code file. When you install Python, the CPython interpreter is installed automatically.
Python Editor
To write the code in the Python source code file, run, you may want to highlight your code when writing code. This requires a text editor, a text editor with sublime text, notepad++, Visual Studio, and so on. You can even use Notepad directly, but there is no code highlighting.
This gives the sublime text download link: http://www.cnblogs.com/runpython/p/7295779.html
Python environment configuration (based on Win7 x64)