Python Learning Note 01:python interpreter

Source: Internet
Author: User

Information reference: Liaoche's official website https://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/ 001407375700558864523211a5049c4983176de304549c8000

First, write in front

I am now in the next semester in junior year, less schoolwork, more abundant free time. In junior high, I learned "artificial intelligence" and "Introduction to Natural language processing," a major elective, wrote a few simple Python code (in fact, are online grilled). There was no systematic learning of the Python language, so there was nothing to be said about Python, a paste in the brain. There are several versions of Python in the system, and when something goes wrong, the face is crazy. I'm going to learn the language of Python recently, so I'm going to fill the basics with a little bit from scratch.

Second, the Python interpreter: responsible for running the Python program

Before programming with Python, we need to install Python on the computer. After installation, we get the Python interpreter, a command-line interaction environment, and a simple integrated development environment.

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

The Python interpreter is independent of each other and does not affect each other.

Third, the Python interpreter under My Computer

must NOTE: The system comes with the Python interpreter do not move!!!

As you can see from the diagram below, there are 5 versions of the Python interpreter in My computer, with 2.6 and 2.7 versions of the two systems, a 3.6 version downloaded from the official website, and a version of the homebrew installation and a venv installed version.

I finally understood how many versions of Python had come before me ...

Python Learning Note 01:python interpreter

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.