install Python on Windows
First step: Download the installation package
Download the corresponding Python version from the official Python website based on the Windows version (64 or 32), this time using Python V3.5.
Download path: Https://www.python.org/ftp/python
Special attention after installation check "Add Python 3.5 to PATH"
Step Two: Check the installation results
After you install Python, Ctrl+r--cmd--python, the following conditions can occur
Situation One:
This scenario indicates that the installation was successful.
Situation Two:
Tip ' python ' is not an internal or external command, nor is it a running program or batch processing.
This is because Windows looks for python.exe based on the path set by the environment variable of the path.
Solution:
Modify the variable path in the Control Panel \ System and security \ System \ Advanced system settings \ Advanced \ Environment variables, edit the system variable after adding ";D: \python27", you can enter the Python interactive environment in command line mode, and can enter Python code execution directly.
Install Python on Linux
Most Linux systems have built-in python environments, such as Ubuntu V13.04, which are built with Python 2 and Python 32 environments, and are completely enough to be installed.
Just check the Python version below, open the terminal, enter: Python3--version
If you need to install a specific version, enter: sudo apt-get install python3.5
Using IDE Tools
so far, the tools I've used are only pycharm, which supports Windows and Macs.
: Https://www.jetbrains.com/pycharm, download Community Edition, free of charge. The pro version is paid for.
For the first time use, you can visit the following two websites to familiarize yourself with:
Http://v.youku.com/v_show/id_XODMyMzM1NzQ4.html
Https://www.jetbrains.com/pycharm/documentation
Once installed, open the file in the setting, you can set its theme, font style and so on.
Installing Python and tools