First knowledge of Python

Source: Internet
Author: User

python(English pronunciation:/?pa?θ?n/), is an object-oriented, interpreted computer programming language, invented by Guido van Rossum at the end of 1989, the Python source code also follows the GPL (GNU General Public License) agreement. The Python syntax is concise and clear, with a rich and powerful class library. It is often nicknamed the glue language and is able to easily connect a variety of modules made in other languages, especially in C + +. Using Python, you can quickly generate a prototype of a program, and then rewrite it in a more appropriate language for the parts that have special requirements. It is gradually used to deal with system management tasks and web programming.

The overall guiding ideology of designer development is that, for a particular problem, there is only one best way to solve it. This is stated in the Python motto (known as the Zen of Python) written by Tim Peters: there should be one--and preferably only one--obvious the-do it. This is exactly the opposite of the central idea of the Perl language Tmtowtdi (there's more Than one-way-to-do It).

When Python executes, the source code in the. py file is first compiled into Python's byte code (bytecode), which is then executed by Python virtual machine (python vm) to execute the compiled byte code.

Pip is a tool for installing and managing Python packages and is a replacement for Easy_install. Distribute is replaced by Setuptools (the Setuptools package is no longer maintained), and Pip is replaced by Easy_install. PIP installation requires Setuptools or distribute, if you are using python3.x then you can only use distribute because python3.x does not support Setuptools.

Reference documents:

Python

Http://baike.baidu.com/link?url=FYGQ8HcyMr-o6YthUmc9YFQNXPLG1GgASQ4DXuMVBXfBytYrn-yxwf22OPixYw2g8rQvEJ-UV9vXzs7qkVD_5K

Python PIP package Management

http://hxl2009.blog.51cto.com/779549/1334664

First knowledge of 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.