Life are short, you need Python

Source: Internet
Author: User

Python's Past life

Python is a programming language written by the famous "Uncle Turtle" Guido van Rossum (Guido van Rossum) during Christmas 1989 to send a boring Christmas.

Many of the python grammars come from C, but are strongly influenced by the ABC language. Some of the rules from the ABC language are still controversial today, such as forced indentation. But these syntax rules make python easy to read.
Guido van Rossum is a famous word that lives are short, and you need Python, translated as: Life, I use Python

How Python is implemented


Python is a programming language, but there are a number of implementations that refer to the Python interpreter and the standard library that are compliant with the Python language specification.

The way Python is implemented is divided into three major categories

Cpython
PyPy
Similar implementations of Jpython, IronPython, etc.

CPython

This is the official version of Python, implemented using the C language, the most widely used, and the new language features are generally the first to appear here.
The CPython implementation converts the source file (py file) into a bytecode file (PYc file) and then runs on the Python virtual machine.

PyPy

Python (Rpython python) Implementation version, the principle is that, pypy run on CPython (or other implementations), the user program runs on the PyPy. One of its goals is to become a test farm of the Python language itself, because the implementation of the PYPY interpreter can be easily modified (because it is written in Python), and the code performance of PyPy is more than five times times that of CPython.

Jython

Jython is a python implementation, Jython compiled Python code is Java bytecode, and then by the JVM (Java Virtual machine) execution, which means that at this time the Python program is not different from the Java program, but the source code is not the same. In addition, it is able to import and use any Java class like a Python module.

IronPython

IronPython is a C # implementation of Python, and it compiles Python code into C # intermediate code (similar to Jython) and then runs it with. NET language interoperability is also very good.

Life are short, you need Python

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.