Beginners Learn Python First day (introduction)

Source: Internet
Author: User
Tags image processing library

Python Brief introduction

Python is a high-level scripting language that combines explanatory, compiled, interactive, and object-oriented. Python's design is highly readable, with English keywords often used in other languages, some punctuation in other languages, and it has a more distinctive grammatical structure than other languages.

    • Python is an interpreted language: this means that there is no compilation in the development process. Similar to the PHP and Perl languages.

    • Python is an interactive language: This means that you can execute your program in a Python prompt directly interacting with the execution.

    • Python is an object-oriented language: This means that Python supports object-oriented styles or code encapsulation in object programming techniques.

    • Python is a beginner's language: Python is a great language for novice programmers, and it supports a wide range of application development, from simple word processing to WWW browser to gaming.


the founder of Python is Guido van Rossum. 1989 Christmas period, inAmsterdam, Guido was determined to develop a new script interpreter that would be an inheritance of the ABC language in order to get rid of the boredom of Christmas. Python was chosen as the name of the programming language because he was a comedy group called Monty Python .Enthusiasts.

       ABC is a teaching language. As far as Guido himself is concerned, the language of ABC is very graceful and powerful and is designed specifically for non-professional programmers. But the ABC language did not succeed, the reason, Guido think is its non-open caused. Guido resolved to avoid this error in Python At the same time, he wanted to achieve something that had flashed in ABC but had never been realized.

        In this way, Python was born in the hands of Guido. It can be said that python evolved from ABC and was largely influenced by the Modula-3 (another rather beautiful and powerful language designed for small groups). And the combination of the unix Shell and C's habits.

Python has become one of the most popular programming languages. In January 2011, it was ranked as the 2010 language by the TIOBE programming language leaderboard. Since 2004, Python's usage has grown linearly.

because of the Python languageConcise, readability, and scalability, there is an increasing number of research institutions that use Python to make scientific calculations abroad, and some well-known universities have used Python to teach programmingCourses. For exampleCarnegie Mellon Universityprogramming Basics, MIT's Introduction to Computer science and programming is taught in Python. Many open-source scientific computing packages provide Python callsInterface, such as the famous Computer Vision libraryOpenCV, three-dimensional visual library VTK, medical image processing library ITK. Python's dedicated Scientific computing expansion library is more, such as the following 3 very classical scientific extension libraries: NumPy, scipy, and matplotlib, which provide Python with fast array processing, numerical operations, and drawing capabilities, respectively. As a result, the Python language and its many expansion libraries make up the development environment ideal forEngineeringTechnology, researchers work on experimental data, make charts, and even develop scientific calculationsApplication.

Speaking of scientific calculations, the first thing to be mentioned might be MATLAB . However, in addition to some of the most professional tools of MATLAB can not be replaced, most of the common functions of MATLAB in the Python world to find the appropriate extension library. compared with MATLAB, using Python to do scientific calculation has the following advantages:

first of all, Matlab is a commercial software, and expensive. Python is completely free, and many open-source Scientific Computing libraries provide Python's calling interface. Users can install Python and most of its extension libraries for free on any computer.

Secondly, compared with Matlab, Python is a more easy to learn, more rigorous programming language. It allows users to write code that is easier to read and maintainable.

Finally, MATLAB focuses on engineering and scientific computing. However, even in the field of computing, you will often encounter file management,Interface Design,network communicationand other needs. Python, with its extensive library of extensions, can easily perform a variety of high-level tasks, and developers can use Python to implement the full range of functions required by the application.


The first use of Python in China is watercress.


Why use Python?

Software engineer: programming

System engineer: Using Python to manage the system

What can I do with python?

Software development: Games, search, embedded ..... ; website; c\s Software

System administration: Scripting ... Operation and maintenance automation tools

Beginners Learn Python First day (introduction)

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.