What is Python? Python can be used to do?

Python is very rapid development in recent years, especially in 2017, with the rise of the concept of artificial intelligence, attention is also getting higher and higher python, python have been incorporated into primary school textbooks college entrance examination, Zhejiang and Shandong provinces. For people in the IT industry, the language is not new to python, but other industries who may know little about the python, or ever heard of, which are detailed below under the python programming language, to tell you is python what? python can be used to do?

A, Python is what language, python what kind of language?

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

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

Like Perl languages, Python source code is likewise follow GPL (GNU General Public License) protocol.

 

Two, Python what it means, how to read python?

Python (English pronunciation: / paɪθən / American pronunciation: / paɪθɑːn /, translated into Chinese python, snake meaning.

 

Three, Python development process

1989 Christmas, Guido started writing a compiler Python language. The name Python, Guido from the beloved TV series Monty Python's Flying Circus. He hoped that this new language called Python, and can conform to his ideal: to create a

Between species and C shell, full-featured, easy to use, scalable language.

In 1991, the first born Python compiler. It is written in C language and be able to call the C language library. From birth, Python already has: classes, functions, exception handling, core data types, including tables and dictionaries, and a module-based Extension

Exhibition system.

Python 1.0 - January 1994 increased by lambda, map, filter and reduce.

1999 ancestral --Zope web framework Python 1 release

Python 2.0 - 2000/10/16, joined the memory recovery mechanism, forms the basis of the framework of the Python language is now

Python 2.4 - 2004/11/30, the same year the most popular of the birth of Django framework WEB

Python 2.5 - 2006/09/19

Python 2.6 - 2008/10/1

Python 2.7 - 2010/07/03

Python 3.0 - 2008/12/03

Python 3.1 - 2009/06/27

Python 3.2 - 2011/02/20

Python 3.3 - 2012/09/29

Python 3.4 - 2014/03/16

Python 3.5 - 2015/09/13

November 2014, Python2.7 will stop supporting the message is published in 2020, and not in the version 2.8 release, it is recommended to migrate users as much as possible when 3.4+ Python was originally released, there are some flaws in the design, such as Unicode late in the standard Python

Now, it has been not fully support Unicode, and supports ASCII encoding of characters is limited. Example: The Chinese support is not good Python3 relatively early version of Python is a major upgrade, Py3 not considered in the design is backward compatible, so many early

Python version of the program can not run again on Py3. In order to take care of earlier versions, the introduction of transitional version 2.6-- basic use of the Python 2.x syntax and libraries, taking into account the migration to Python 3.0 and Python 3.0 allows the use of part of the syntax and function. 2010

In continue to offer a compatible version 2.7, features a large number of Python3 is reverse migration to the more than 2.6 Python2.7,2.7 very progressive, also has a large number 3 features and library, and take care of the original Python development crowd.

 

Four, Python can be used to do?

In my opinion, basically irresponsible to think, Python can do anything. Whether it is from the entry-level players to professional players are doing reptiles, or Web application development, desktop application development or scientific computing, image processing, Python can do the job.

Python provides us with a very sound foundation code base, covering a lot of the content network, file, GUI, database, text, etc., is vividly called "built-in battery (Batteries included)". Many features do not have to be written in Python development from zero, ready to use directly.

In addition to the built-in library, Python there are a lot of third-party libraries, which is developed by others for what you use directly. Of course, if you use someone else code developed by a very good package, it can be used as third-party libraries.

Many large sites is to use Python developed, such as YouTube, Instagram, as well as domestic watercress. Many large companies, including Google, Yahoo, and even NASA (National Aeronautics and Space Administration) are heavily used Python.

Turtle t to Python's position is "elegant" and "clear", "simple", so Python program always looks easy to understand for beginners to learn Python, not only easy entry, and deep down in the future, you can write those very, very complicated program of.

In general, Python's philosophy is simple and elegant, try to write code that is easy to understand, try to write less code. If a senior programmer to write to you to show off his obscure, at every turn tens of thousands of lines of code, you can enjoy laughing at him.

 

Fifth, how to get started learning python?

Zero base case, want to learn a language. In fact, python very suitable for beginners. Compared to many other mainstream programming languages, more readable, and therefore relatively easy to use. So how to quickly master the python?

Set goals: to develop in addition to the familiar Python language itself, but also need to have a lot of associated skills, like playing NBA, you not only have to learn how to shoot, but also to exercise power, such as a set of technical and tactical things. So, an ordinary Python  Web development engineers need to master skills, including at least one Web frameworks, such as: Django, Flask, Tornado, doing business systems must be familiar with A database that needs to Linux systems understand the basic operations and frequently used commands, because after you wrote the program will basically run on the Linux platform.

Development tools: 工欲善其事必先利其器, Python IDE after another, and it recommended Pycharm Sublime two tools are free, and they learn very low cost Internet to find a basic tutorial to get started watching, vim, Emacs this ancient artifact or place to go after understanding it.

Python3: total novice begin to learn Python2 tangle or Python3, this tangle is entirely to their inviting trouble, because they are the same language, only a small part of the local grammar is not compatible, although most still use Python2 company, but Python3 gradually become the mainstream is an indisputable fact that, after all, the latter is more performance advantage.

Learning Framework: For people just getting started, the most important thing is confidence and interest in learning the culture of Ta. Some will worry about its own fundamentals are so weak, can learn how to frame it? In fact, this actually does not have to worry, most large frame regarded function very complete package, defines a set of work in the framework of its own "rules "more learning framework is to learn these" rules "Getting down does not require a deep theoretical foundation.

Guess you like

Origin www.cnblogs.com/tt7575/p/11706952.html