Advantages and disadvantages of python language

写一篇英文的稿子练练英语- -。

Python, as a high-level programming language, was born by accident, but it is inevitable that it will be loved by programmers.

 

Uncle turtle to the positioning of Python is "elegant", "clear", "simple", so Python programs always look simple and easy to understand, beginners to learn Python, not only easy to get started, and in the future to go deeper, you can write those very, very complex programs.

 

Advantages of python language

• as a beginner to learn python class background, python is very simple, very suitable for human reading.Reading a good Python program feels like reading English, even though the English language is very strict!This pseudo-code nature of Python is one of its greatest strengths.It allows you to focus on solving problems rather than figuring out the language itself.

 

The essay to learn.Python is written in c, but it eliminates the very complex Pointers in c and simplifies python syntax.

 

Python is one of FLOSS (free/open source software).In short, you are free to distribute copies of the software, read its source code, make changes to it, and use some of it in new free software.Python wants to see a better person create and often improve.

 

Portability -- because of its open source nature, Python has been ported to many platforms (even though it has been modified to work on different platforms).If you are careful not to use system-dependent features, all your Python programs can run on any of the following platforms without modification.These platforms include Linux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, AROS, AS/400, BeOS, OS/390, z/OS, Palm OS, QNX, VMS, Psion, Acom RISC OS, VxWorks, PlayStation, Sharp Zaurus, WindowsCE even has PocketPC, Symbian and Google's linux-based Android platform!

 

Inside the computer, the Python interpreter turns the source code into an intermediate form called bytecode, then it turns it into the machine language that the computer USES and runs it.In fact, all of this makes it easier to use Python because you don't have to worry about compiling the program, making sure the connection reprints the correct library, and so on.Since you only need to copy your Python program to another computer, it will work, which makes your Python program more portable.

 

6 Python supports both procedural functional programming and object-oriented abstract programming.In a process-oriented language, programs are built from procedures or functions that are simply reusable code.In object-oriented languages, programs are built from objects that combine data and functionality.Python implements object-oriented programming in a very powerful and simple way compared to other major languages such as C++ and Java.

 

• • extensibility and embeddability of liraglitide.If you need a piece of critical code that runs faster or you want some algorithms to remain private, you can write some of your programs in C or C++ and use them in your Python programs.You can embed Python in your C/C++ programs to provide scripting functionality to your program users.

 

Therefore rich pool.The Python standard library is really huge.Python has a defined third-party library to use.It can help you handle a variety of tasks, including regular expressions, document generation, unit testing, threading, databases, web browsers, CGI, FTP, E-mail, XML, xml-rpc, HTML, WAV files, cryptographic systems, guis (graphical user interfaces), Tk, and other system-related operations.Remember, all of these features are available once Python is installed.This is called Python's "full-featured" philosophy.In addition to standard libraries, there are many other high-quality libraries, such as wxPython, Twisted, Python image libraries, and so on.

 

Python is really a very nice and powerful language.It combines reasonably high performance with features that make writing programs easy and fun.

 

We will ground control code specifications.Python USES forced indentation to make the code extremely readable.

 

Disadvantages of the python language

 

 

Many times you can't write a program as a single line, such as import sys;For I in sys. Path :print I.Perl and awk don't have this limitation, and it's easy to complete simple programs under the shell without having to write them to a.py file, as Python does.(that's not a restriction for many users either)

 

• speed, speed requirements, with C++ rewrite key parts.For users, however, the machine speed is negligible.Because users don't feel the difference in speed at all.

 

The essay is both an advantage and a disadvantage, python open source is python language can not be encrypted, but at present, the domestic market purely by writing software to sell to customers less and less, websites and mobile applications do not need to give customers the source code, so this problem is a problem.Over time, many domestic software companies, especially game companies, have also begun to use it on a large scale.

 

There are too many architectural choices (there is no official.net architecture like C#, nor is there a relative concentration of architectural development like ruby due to its short history).The Ruby on Rails framework is unbeatable for developing small and medium-sized web applications.However, this also shows from another aspect that python is better and attracts more talents and projects.

猜你喜欢

转载自www.cnblogs.com/lifeijie/p/10126124.html