One: install python3.6 under windows7, 32-bit system:
1. Download python3.6.5 from the official website (official website address: https://www.python.org/):
2. After the download is complete, click exe to install directly, and you can choose a custom path, so that it is more convenient to configure the environment variables in the next step (my installation address is: C:\python3.6)
3. Environment variable configuration
How to enter environment variables: Computer-right-click-properties-advanced system settings-environment variables-path
Then add the python installation path in the path; C:\python3.6 (note that the semicolon is in English)
4. Verify that python is installed successfully: open the cmd command, and the following content appears, indicating that the python installation is successful
Two: Install the python editor-pycharm
1. Installation address: https://www.jetbrains.com/pycharm/download/#section=windows
Note: Just install the community version
2. After the installation is complete, a shortcut will be automatically generated on the desktop, double-click to open it
Three. Python simple entry example
1. Open the pycharm editor and create a new project
file-new projiect
Fill in the address you want to put, click create
2. Create a new python file
Fill in the name and click ok
3. Enter simple code, run
4. The runtime prompts no python interpreter configured for the project. At this point, we can click "configure python interpreter" on the right to add an interpreter
Run it again at this time, ok
ps:
For my old aunt, the default font of pycharm is a bit small, so I modified the font, and friends who need it can change it:
file-setting-editor-font