程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Learn Python from official documents: Introduction

編輯:Python

One 、Python  brief introduction


Python  It's famous “ Uncle GUI ”Guido van Rossum  stay  1989  During Christmas , A programming language written to kill the boring Christmas .
Python  It's an interpretative language , No need to compile and link , Be similar to  PHP  and  Perl  Language . Suitable for development , Web applications ( Including websites 、 Back office services and so on )-> Gadgets for daily use ( Script tasks required by the system administrator, etc )-> Repackage programs developed in other languages , Easy to use .

1、 advantage


  • Program concise 、 Easy to read , Easy maintenance
It's usually better than  C、C++、Java  The code is much shorter , such as , C  need  1000  Line code ,Java  need 100  Line code ,Python  Just need  20  Line code .
  • Provides us with a very complete basic code base
Network coverage 、 file 、GUI、 database 、 A lot of content such as text , It's figuratively called “ Built in battery (batteries included)”. in addition , stay  UNIX,Windows  and  Macintosh  Very compatible .
  • Support interactive mode
The language in which the execution code can be input from the terminal and the results can be obtained , Interactive test and debug code snippets .

2、 shortcoming


  • Less code , The running speed is relatively slow
such as ,C  The program needs to run  1  Second ,Java  need  2  second ,Python  Need  10  second .
  • Code cannot be encrypted
Interpretive languages have this problem , To publish your  Python  Program , It's actually publishing the source code .

Two 、 Common links


TIOBE  Ranking List :https://www.tiobe.com/tiobe-index/
Python  Glossary :https://docs.python.org/zh-cn/3.12/glossary.html#glossary
Python  Official website :https://www.python.org/ Free of charge  Python  Interpreters and extended standard libraries , Including source code and machine code form applicable to each operating system , And freely distribute .Python  The official website also contains many free third parties  Python  modular 、 Program and tool release packages and documentation Links .
Python  course :https://docs.python.org/zh-cn/3.12/
If you have any questions in the reading process , Welcome to leave a message in the comments area to participate in the discussion !


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved