Python is an interpretive, interactive, object-oriented, cross-platform language. In recent years, the popularity has continued to rise, and the demand for talents has also increased year by year, and it is highly sought after by programmers.
steer what are the characteristics of Python language? (Recommended learning: python video tutorial )
# (1) Simple learning
(2) Object-oriented
Python supports both process-oriented programming and object-oriented programming. In "procedural-oriented" languages, programs are built from procedures or simply functions that are reusable code. In "object-oriented" languages, programs are constructed from objects that combine data and functions. Compared with other major languages such as C and Java, Python implements object-oriented programming in a very powerful and simple way. (3)Portability
Due to the open source nature of Python, it has been ported on many platforms. If care is taken to avoid using system-dependent features, all Python programs can run without modification on any of the following platforms, including Lnux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, AROS, AS/400 , Beos OS/390, Z/OS, Palm OS, QNX, VMS, Psion, Acorn RISC OS, VxWorks, PlayStation, Sharp Zaurus, Windows CE, and even PocketPC, Symbian and Google's Android platform based on Lnux.(4) Interpretability
A program written in a compiled language such as C or C can be converted from a source file (i.e. C or C language) to a computer language used. This process is done through the compiler and different flags and options. When running a program, connect to the downloader software to copy the program from the hard disk to memory and run it. Programs written in the Python language do not need to be compiled into binary code, and the program can be run directly from the source code. Inside the computer, the Python interpreter converts the source code into an intermediate form called bytecode, which is then translated into the machine language used by the computer and run. In fact, using Python becomes simpler because you no longer have to worry about how to compile the program, how to ensure that the correct libraries are connected and reproduced, etc. Since you only need to copy the Python program to another computer for it to work, this also makes Python programs more portable.(5) Open source
Python is one of FLOSS (free/open source software). Simply put, you are free to distribute copies of this software, read its source code, make changes to it, and use parts of it in new free software.
FLOSS is based on the concept of a group sharing knowledge, which is one of the reasons why Python is so good - it is created and often improved by a group of people who want to see a better Python. of.The above is the detailed content of Five characteristics of python. For more information, please follow other related articles on the PHP Chinese website!