The best of python (1) -- getting started with python, the best of python

Source: Internet
Author: User

The best of python (1) -- getting started with python, the best of python

1. Introduction to Python

Python is an interpreted, object-oriented, and dynamic data type high-level programming language.

Python was invented by Guido van rosum at the end of 1989. The first public release was released in 1991.

Like Perl, Python source code also complies with the GPL (GNU General Public License) protocol.

Python is a high-level scripting language that combines interpretation, compilation, interaction, and object-oriented.

The Design of Python is highly readable. Compared with other languages, it often uses English keywords and some punctuation marks in other languages. It has a more distinctive syntax structure than other languages.

Python is an interpreted language: this means that compilation is absent during development. Similar to PHP and Perl.

Python is an interactive language: this means that you can directly interact and write your program at a Python prompt.

Python is an object-oriented language: this means that Python supports the object-oriented style or code encapsulated in the object programming technology.

Python is a beginner's language: Python is a great language for beginners. It supports a wide range of application development, from simple text processing to WWW browsers to games.

2. Python Development History

Python was designed by Guido van rosum at the National Institute of mathematics and computer science in the Netherlands at the end of 1980s and the beginning of 1990s.

Python itself has evolved from many other languages, including ABC, Modula-3, C, C ++, Algol-68, SmallTalk, Unix shell and other scripting languages.

Like Perl, Python source code also complies with the GPL (GNU General Public License) protocol.

Currently, Python is maintained by a core development team, and Guido van rosum still plays a crucial role in guiding its progress.

3. Python features

. Easy to learn: Python has fewer keywords, and its structure is simple. It is easier to learn with a clearly defined syntax.

. Easy to read: Python code definition is clearer.

3. Easy Maintenance: Python's success lies in that its source code is quite easy to maintain.

. A wide range of standard libraries: one of the biggest advantages of Python is the rich library, cross-platform, and compatible with UNIX, Windows, and Macintosh.

3. 5. Interactive Mode: supports interactive mode. You can enter the language for executing the code from the terminal and obtain the result, Interactive Test and debugging code snippets.

. Portability: Based on its open source code features, Python has been ported (that is, to make it work) to many platforms.

3. 7. scalable: If you need a piece of key code that runs very fast, or want to write algorithms that are not open, you can use C or C ++ to complete that part of the program, and then call it from your Python program.

. Database: Python provides interfaces for all major commercial databases.

3.9.GUI programming: Python supports GUI creation and porting to many system calls.

. Embedding: You can embed Python into a C/C ++ program, allowing users of your program to gain "scripted" capabilities.

 

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.