Python pros and cons

advantage:

• Easy to read: Python is a language that stands for simplicity.
• Easy to learn: Python has an extremely simple syntax.
• Free and Open Source: Python is one of FLOSS (Free/Open Source Software). FLOSS is based on the concept of a community sharing knowledge.
• High-level language: When you write programs in Python, you don't need to worry about low-level details such as how to manage the memory your program uses.
• Portability: Due to its open source nature, Python has been ported to many platforms. These platforms include Linux, Windows, and the Android platform developed by Google based on Linux!
• Compiled language: Convert the code into executable binary files first, users only need to run the compiled binary files, and the running speed is relatively fast
• Interpreted language: The code files are handed over to the user. When running the program, while the Compile and run the code while running, and the running speed is relatively slow
• Object-oriented: Python supports both procedural and object-oriented programming.
• Scalability: If you need a critical piece of your code to run faster or want some algorithms to be private, you can write parts of your program in C or C++ and use them in your Python programs.
• Rich library: The Python standard library is indeed huge. It helps you with all kinds of jobs including regular expressions, documentation generation, unit testing, threading, databases, web browsers, CGI, FTP, email, XML, XML-RPC, HTML, WAV files, cryptography, GUIs (Graphical User Interface), Tk and other system related operations.
• Canonical code: Python uses mandatory indentation to make code extremely readable.

shortcoming:

The Python language is very complete and has no obvious shortcomings and shortcomings. The only disadvantage is the slow execution efficiency, which is common to interpreted languages. At the same time, this shortcoming will be compensated by the increasingly powerful performance of the computer.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325508666&siteId=291194637