Python study notes (two)-build a running environment

1. Introduction

1. Version number

Python's version number is divided into three sections, such as Python.ABC, where:
A: large version number, overall rewrite, or when backward compatibility occurs
B: feature update, add B when new features appear
C: minor changes, such as Fixed a bug

2. Advantages and disadvantages

advantage:

Many courses! ! ! ! (There are advertisements everywhere)
Easy to use; (When the university didn't know anything about programming, they used Python to fool around with a few functions, although I have forgotten them)
Wide application areas! ! ! (Going into the earth, omnipotent)

Disadvantages:

Not found yet

2. Operating environment

1. Interpreter

Why do you need a Python interpreter

When we cloned a project from github, we saw some text files with the extension .py. To run the code, you need to use the Python interpreter to execute the .py file.
Insert picture description here

Types of Python interpreters

Cpython : The official version of the interpreter, implemented in C language, is the most widely used Python interpreter. When running python on the command line , this interpreter is started (the subsequent notes also use the Cpython interpreter)

The rest : Jython , IronPython , PyPy , IPython , (the Wikipedia link is not important, check it when you use it)

Install Python interpreter (Windows environment)

(1) Download Python on the official Python website
Insert picture description here
Note: Win7 environment is not supported
(2) Installation suggestions

  • Check "Add Python 3.x to Path"
  • Custom installation path (make sure there is no Chinese in the path)
  • It is best to check Option Features in the setting interface. If
    Insert picture description here
    Insert picture description here
    this interface appears, the installation is successful.
    Insert picture description here

2. Editor (to be continued)

reference

Liao Xuefeng Pyhton learning tutorial
jackfrued/Python-100-Days

Guess you like

Origin blog.csdn.net/hhhhhhenrik/article/details/114260102