I suddenly found a very serious problem, I seem to have told you a lot of Python syntax, but did not tell you the basic Python background. Today, we don't learn basic grammar, and look at the basic background of Python.
First, say how Python reads. According to the Baidu Encyclopedia pronunciation is: English pronunciation:/?pa?θ?n/American pronunciation:/?pa?θɑ?n/
Currently, Python has two versions, one version is 2.x, and one version is 3.x, and there are several versions of 2.x in it, as well, there are several versions of 3.x. We've been talking about the 3.x version before. Why do you want to learn the 3.x version? Because the 3.x version of Python is a collection of more methods, it is more convenient relative to Python2. It is also important that Python authors announce on the mailing list that Python 2.7 will terminate support on January 1, 2020. Users who want to continue to receive support for Python 2.7 after this date will be charged to the commercial vendor. Hehe, no python3 so convenient, but also money, many companies will use Python3, so, Python3 will become the mainstream of the future, we do not waste energy to learn python2. Although some OPENCV (image recognition technology) now uses Python2, I believe that it will change in the near future.
Next, python compatibility, Python is so hot, part of the reason is the compatibility of the problem, and C + + is very good compatibility, but also compatible with MATLAB. C + + will not say, after all, you are not learning this, matlab do not know whether you have learned, supposedly, learn matlab, your professional or very helpful. MATLAB is a scientific computing software, able to statistical analysis of data, to obtain visual images, we often used to analyze the signal Fourier changes. Here's a quote from the Baidu Encyclopedia on the relationship between Python and matlab explanation:
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, often encountered in file management, interface design, network communications and 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. Well, we're here for the python background.
(if there is infringement of the article image and some references, please contact the author to delete)
Talk about Python's background