If you are not familiar with the running method of the Python programming language, you can use our article to understand the specific application of the running method of the Python programming language, the following articles describe the specific operation methods, and I hope you will gain some benefits.
Running Mode
Python can be run in command line or interactive mode. It also has a graphical integration environment, which makes Python development quite convenient. Now, many visual programming software written in Python has been used to implement functions like Delphi.
Object-oriented
The Python programming language is a real object-oriented language. It even supports exception handling. If you have learned Java, you should be familiar with it. However, other scripting languages, such as PHP, do not seem to have any. This makes the compilation of the program clearer without many error checks.
Modules and packages
This is more like Java. For Java support, you can understand JPython. JPython is a Python written in Java. It fully supports Java. In this environment, you can use Java class libraries freely. Language extensions can use C, C ++, or Java to write new language modules, such as functions, for Python. It can be directly compiled with Python, or implemented using dynamic library loading. Someone has also compiled a tool to automatically implement function Interface encapsulation for Python. This is SWIGSimplified Wrapper and Interface Generator), or it is called simple encapsulation and Interface Generator.
- Python string operation manual in practice
- Three application solutions in Python logic operations
- Describes the operability of the Python Programming Language
- Three main application forms of Python Functions
- How to Write Python strings?
Guido believes that Python syntax is very elegant. One of them is that the block statement is not a {} pair commonly used in the C language, or another symbol pair, but uses the near representation! Interesting. In this regard, Guido's explanation is: first, using the near representation reduces visual confusion and shortens the program, this reduces the scope of attention to basic code units;
Secondly, it reduces the programmer's freedom and is more conducive to unified style, making it easier to read other people's programs. I think it is good. in C language, there are several kinds of braces behind the if statement. Different people like different things and it is better to unify them.
After the definition of each class or function, the first line can be a description statement without the annotator mark. For the statement followed by the block statement, it should be followed by a colon. A row of statements cannot be too long because there is no line terminator. If it is too long, use the line break (\). There are also some interesting examples, such as the following comparison processing, using the C language:
- if (2<a&&a<5)
It can be expressed
- If (2 <a & a <5)
- What is Zope?
-
Zope is an open-source Web application server developed in Python. It allows you to easily build content management, intranets, portals, and other custom applications.
A highly object-oriented Web development platform developed in Python.
It can run on almost all popular operating systems and supports multiple languages.
It can be integrated into other popular servers and also comes with servers.
Provides clear data/logic/representation separation.
With extensible built-in objects and powerful
The above is an introduction to the Python programming language.