This is the second day of my participation in Gwen Challenge


The introduction

When we write Python code, we get a text file containing Python code with a.py extension. To run the code, you need the Python interpreter to execute the.py file.


We usually refer to Python as an interpreted language and C/C++ as a compiled language.



A computer program that interprets high-level programming languages line by line. Instead of translating the entire program at once, the interpreter acts like a middleman. Each time a program is run, it must first be converted to another language, so interpreted programs run more slowly than compiled programs


Install the Python interpreter

Latest Version Download

  • Download from the official website (https://www.Python.org/)

  • Select the latest Python version and operating system (Window example)


Network location to download

If the official website of Python cannot be accessed or the network speed is slow, I have uploaded python-3.8.2 and python-3.7.5-amd64, 64-bit versions of Python on Baidu cloud disk, I hope you can help.


resources link Extract the code
Python – 3.8.2 Pan.baidu.com/s/1aZnk1ooo… ea9k
Python – 3.7.5 – amd64 Pan.baidu.com/s/10bYfA1_J… tc3t


Download other versions

  • Check all Python version (https://www.Python.org/downloads/)

  • Take Python 3.7.5 as an example

    Find the corresponding Python version


    Click Download to go to the Download screen, then slide all the way to the Files section

    • Difference between X86 and x86-64: whether the system is a 32-bit version or a 64-bit version

    • Web-based: Installed over the network. Python is downloaded from the network after the installation

    • Executable: all Python files are to be installed on the host

    • Embeddable zip file: Python embeddable zip file


Select the installation program according to the number of bits on the computer, click the link to download, and then select the path to save the file


Please note that Python 3.5+ is not available on Windows XP or earlier.


Install Python

Python 3.8.2 for example

Double-click to open the downloaded python-3.8.2.exe installer

Check Add Python 3.8 to PATH. This is because Windows will look for python. exe based on a PATH environment variable and will report an error if it is not found.

If the check box is omitted during installationAdd Python 3.8 to PATHThen you have to manually handle itPython.exeThe Path is added to the Path.


Install Now is installed on disk C by default. Try not to Install it on disk C, because it is difficult for us to find the installation on disk C. If there are many things in disk C, the computer performance will slow down. We chose a custom installation

Directly Next


Select Install for all Users and customize the installation path

Click Install and wait for the progress bar to complete



The installation is complete


Check whether the installation is successful

Win + R key enter CMD to open a command prompt window. In the CMD window, enter Python to view the version and enter the Python interactive environment


If the preceding screen is displayed, Python is successfully installed.


Prints Hello World

You see the prompt >>> to indicate that you are already in a Python interactive environment. You can type any Python code and press Enter to get the result immediately.

print("Hello World")
Copy the code


To exit the Python interactive environment, type exit() or quit() and press Enter.


The tail language

✍ Code writes the world and makes life more interesting. ❤ ️

✍ thousands of rivers and mountains always love, ✍ go again. ❤ ️

✍ code word is not easy, but also hope you heroes support. ❤ ️