[Python Basics] 1. History and Development


Preface

This topic mainly focuses on Python . Target Python 3.11.4 .

Because during the learning process, you may encounter the need to usemultilingualscene. For example, the basic grammars of C , C++ , Python , Java , Matlab , HTML/CSS , JavaScript/TypeScript, etc., their essential structures are similar , but there are some differences . For specific syntax and algorithms , I will try to illustrate the implementation differences between different languages ​​with examples . Due to limited ability, this article does not explore its deep essence , but only summarizes the superficial grammatical phenomena .

It will be updated gradually. Inadequacies are welcome to point out in the comment area.


History

brief description

  • The father of Python is the Dutchman Guido van Rossum . It came out in the 1990s .
  • The original intention of the Python language is to enhance the interpretability of the language , so that you don't have to spend a lot of time on complex grammar learning.
  • The Python language is an interpreted language . Object- oriented programming. run through an interpreter .
    • Advantages : simple and easy to understand syntax , good ecological environment , cross-platform (Python environment is installed by default in Linux)
    • Disadvantage : slow execution efficiency

Application field

  • Artificial intelligence (machine learning, image processing, NLP)
  • Cloud computing (big data, data mining)
  • Web development (crawler)

major version

  • Python1.0 : Released in 1994
  • Python2.0 : Released in 2000
  • Python3.0 : Released in 2008. The syntax of Python3.x and Python2.x is quite different. Currently updated to Python3.11

mainstream interpreter

  • CPython : official version , an interpreter developed in C language , widely used
  • IPython : an interactive interpreter developed based on CPython

editor's recommendation

  • Pycharm : I have used the community version and it is easy to use. But it takes more memory
  • Visual Studio : All-in-one
  • Geany : very niche but easy to use, lightweight

Summarize

The bottom layer of Python is the C language . If you have a C language foundation, you will find that Python is quite fast to get started. And in many ways Python simplifies the syntax of C , which may be the key to its popularity .

The bibliography used in this series is as follows1 .


  1. "Python Programming: From Introduction to Practice" ↩︎

Guess you like

Origin blog.csdn.net/m0_46500149/article/details/130140050