What is python?

zhaozj2021-02-16  84

Python is an object-oriented interpretative language. It is an advanced programming language, that is, it isolates the user with the underlying operating system. However, different from other interpretative languages ​​is to support the underlying access to the operating system. Thus, it is usually divided into a position between the C language in VB or PerL to the system level.

Although PERL, TCL and other languages, Python is considered to be an interpretative language, but it has a compiled process, translates the original script into a series of types code, then let the byte code in Python virtual The plane runs on the plane. However, since it is a scripting language, it is a slow three points compared with C and Pascal. But don't worry, the bytecode of the Python module is saved. When you need it, you will use it. It is not necessary to recompile, and the generated bytecode is completely independent of the platform and operating system! Learn about Java friends feel very familiar? Ha. Python is free free this word to best attract attention, especially Those BOSS, you can use any software with free languages, and don't have to worry about copyright issues, freely write, release, modify ....... If you want to know in-depth understanding, you can even download its source code! Python is portable No need to say, many operating systems support Python. Python's powerful feature is almost no matter what Python can't do. Python's kernel is very small, but he can provide basic build blocks, so programmers can design a lot of applications. Alternatively, Python can be expanded with C, C , Java, so you can use it to develop any type of program. Python interpreter provides a large number of various additional modules to extend the features of the Python programming, such as network communication, Text processing (extensive XML support), as well as regular expressions. Although Python's main purpose is to block the underlying complexity of the programmer, it also supports some necessary hooks (hooks, extensions, and functions, so We can take the underlying access to the specific area of ​​the operating system. The ability to enter the ground is there. Python can do anything. Python scalability Because Python is written with C, some extensions are used with C , and can be accessed Its source code can thus support the Python write extension. Many of the standard modules provided by Python support C or C interfaces. Python and C can work together. It can be embedded in C or C applications, so you can use the Python language to provide the application. Script interface. Because of the Python design conceptual application, you can use the Python design conceptualization application, and gradually port it to C. You don't have to use C to write applications before use. Python can work with Java: Jython is a seamless combination of Java and Python Tianda. Whether it is In Python, you can use Python's object in Python, or you can use Python in Java. There is more wonderful, because Jython's interpreter is written in Java, so you can support Java Any platform to deploy Python programs, even web browsers can also run Python scripts directly. I used Jython to draw 3D chart in the project, and client IE can browse and use the mouse to manipulate!

Python's simplicity as long as you understand the basic principles of Python, you will be easy. The core of language is very small, the semantics and style are very simple. Search for a long time, it is easy to say that Python language does not need to study in depth. Complex problems. Many expansion and libraries need to carefully think to achieve efficient use of this language. Especially when integrated with other languages, such as TK and SQL are integrated, it should be the case.

Python's simplicity as long as you understand the basic principles of Python, you will be easy. The core of language is very small, the semantics and style are very simple. Search for a long time, it is easy to say that Python language does not need to study in depth. Complex problems. Many expansion and libraries need to carefully think to achieve efficient use of this language. Especially when integrated with other languages, such as TK and SQL are integrated, it should be the case.

转载请注明原文地址:https://www.9cbs.com/read-12688.html

New Post(0)