SoFunction
Updated on 2024-11-18

Easy to understand tutorial on installing python environment

Today we start learning python, first the environment is installed

1. in /downloads/ download or (ps: here it is recommended to download the 32-bit python , because 64-bit python development out of the program.Packaged as an EXE program, it will not be compatible with 32-bit systems.

2. After downloading and installing, open the installation package

2.1 Default installation, default installation under the C drive of the computer

2.2 Customized installation can be customized to be installed on any disk of the computer.

3. Environment variables

3.1 When installing Python 3.5, check the Add Python 3.5 to PATH box below, and the path will be added automatically after installation.

3.2 Add the paths C:\python and C:\python\Scripts (the latter is used when installing libraries in PIP) to the path in Computer --> Properties --> Advanced --> Environment Variables --> path.

4. After the installation is complete, press win + R to start the CMD command, type python and enter, the version of python appears to indicate that the installation was successful.

5. Ceremony of heavenly sacrifice (ps: the mystery of the program apes must also be carried out, otherwise it will be out of infinite bugs!)

5.1 Type directly into the cmd command: print("hello world")

5.2 Create a new file, open it in IDLE mode and type: print("hello world"), then save it and run it with F5.

ps: Some computers hide file extensions by default, in the folder options can be canceled!

I am just a py rookie, just starting to learn, if there are any mistakes, please include them and guide me.

This is the whole content of this article.