Python Learning 0 Python installation

Source: Internet
Author: User

I. Introduction of Python

Python is an easy-to-learn and powerful programming language. It has efficient advanced data structures and simple and efficient object-oriented programming features. Python's elegant syntax and dynamic type, as well as its explanatory nature, make it an ideal language for scripting and rapid application development in many areas and most platforms.

Python can be used in many fields, such as data analysis, component integration, network services, image processing, numerical computing, and scientific computing.

Python is an explanatory language because it does not compile and link, it can save you a lot of time in the development process of the program. The Python interpreter can be used interactively, which makes it easy to experiment with the features of the Python language, write a program that is thrown later, or test the functionality in a bottom-up program development. It is also a handy desktop calculator.

Python makes the program simple and easy to read. The Python programs you write are often much shorter than equivalent C, C + +, or Java programs for several reasons:

Advanced data types allow you to express complex operations in a single statement;

Statement grouping is done by indenting, rather than opening and closing parentheses;

The Declaration of variables and arguments is not required.

Second, the Python interpreter

1. Introduction to the Python interpreter

The code written in the Python language needs to be interpreted by the Python interpreter, which is categorized as follows:

CPython (most commonly used version)

The official version of Python, implemented using the C language, is the most widely used CPython implementation converts the source file (. py file) into a bytecode file (PYc file) and then runs on the Python virtual machine.

Jyhton

Python's Java implementation, Jython will dynamically compile the Python code into Java bytecode and run it on the JVM.

IronPython

In Python's C # implementation, IronPython compiles Python code into C # bytecode and then runs on the CLR. (similar to Jython)

PyPy (Special)

Python implements Python, which compiles the Python bytecode into machine code.

Rubypthon, Brython ...

Python Learning 0 Python installation

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.