python introduction

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

Python is designed to be very readable. Compared with other languages, English keywords are often used, and some punctuation marks of other languages have a more distinctive grammatical structure than other languages.

What exactly can python do#

  1. reptile
  2. data analysis
  3. Machine learning
  4. APP development
  5. game development
  6. Automation script
  7. Web development

The future of python#

Higher-higher development efficiency

Python has become a big hit in the industry in the past two years. I have been thinking about the reason. Apart from cloud computing to help Python bring a wave of rhythm, are there other reasons? There must be, I think there is another main reason for the high enthusiasm for Internet entrepreneurship in recent points. Thousands of programmers have listened to various entrepreneurial chicken soups and quit large companies to work stably and start a business. Zhongguancun Entrepreneurship Street for 14, 15 years It was a lively event. The Prime Minister had been there several times. I myself tried one or two projects with my friends. At that time, everyone was anxious to develop things quickly to get financing. At that time, the minds of investors were also hot. , A large amount of money is invested in various startup companies for various cash subsidies to grab users. Time is money. You can’t wait for the idea to be available today, and the product will be launched tomorrow, and the product will be online for a month at night. Maybe the war has nothing to do with you. Therefore, a language with extremely high development efficiency has entered the eyes of developers. Because developers are like gods, they don’t know where the development efficiency is higher than C and Java. Many startups choose Python as the development language, although those startups Most of the companies failed, but gave birth to the foreplay of Python's popularity in China.

Faster-run faster

Obviously Python is not a fast language, and slowness is also the main reason why many programmers criticize Python. However, in recent years, the PyPy interpreter has continuously improved the running speed of Python. Programs run through PyPy are faster in certain scenarios. Directly approaching the C language, I believe that in a few years, the running speed of Python will no longer be a problem. In addition, due to the recent rapid development of CPU processing speed, the speed of the programming language itself is no longer the main consideration in most business scenarios (except for businesses that are extremely sensitive to response speed, such as search).

More powerful-more powerful

This is one of the main reasons that caused the Python fire. Python's standard library and third-party libraries are so powerful that you can't imagine. No matter you want to engage in technical programming in any direction, you can almost find the corresponding library support. A few chestnuts:

  1. WEB development-the most popular Python web framework Django, the Tornado framework that supports asynchronous and high concurrency, the short and slick flask, bottle, Django's official slogan defines Django as the framework for perfectionist with deadlines (the main idea is a development for perfectionists High-efficiency web framework)
  2. Network programming-Twisted network framework that supports high concurrency, asyncio introduced by py3 makes asynchronous programming very simple
  3. Crawler-In the crawler field, Python is almost dominant. Scrapy\Request\BeautifuSoap\urllib, etc., crawl whatever you want
  4. Cloud computing-currently the most popular and well-known cloud computing framework is OpenStack, Python is now popular, a large part of it is because of cloud computing
  5. Artificial intelligence-who will become the first development language in the era of AI and big data? This is already an issue that does not need to be debated. If three years ago, Matlab, Scala, R, Java, and Python had their own opportunities, and the situation is still unclear, then three years later, the trend is very clear, especially after Facebook open sourced PyTorch two days ago, Python as AI The position of the top language of the times is basically established, and the suspense in the future is only who can secure the second place.
  6. Automated operation and maintenance-ask every operation and maintenance personnel in China, what language must the operation and maintenance personnel know? 10 people believe it will give you the same answer, its name is Python
  7. Financial analysis-I personally worked in the financial industry before. In 10 years, many analysis programs and high-frequency trading software written by our company used Python. Up to now, Python is the most used language in the field of financial analysis and quantitative trading.
  8. Scientific calculations-did you know that since 1997, NASA has been using Python extensively to perform various complex scientific calculations. With the development of many libraries such as NumPy, SciPy, Matplotlib, Enthought librarys, Python has become more and more popular It is suitable for scientific calculation and drawing high-quality 2D and 3D images. Compared with Matlab, the most popular commercial software in the field of scientific computing, Python is a general programming language and has a wider range of applications than the scripting language used by Matlab
  9. Game development-Python also has many applications in online game development. Compared with Lua or C++, Python has a higher level of abstraction than Lua, and can describe game business logic with less code. Compared with Lua, Python is more suitable as a host language, that is, the entry point of the program is in Python That end will be better, and then use C/C++ to write some extensions when necessary. Python is very suitable for writing projects with more than 10,000 lines, and can well control the scale of online game projects within 100,000 lines of code. In addition, as far as I know, the well-known game <Civilization> is written in Python.

Title: Introduction to python
Author: [Eric1997] (https://www.zhangyongzhao.site/)

Recommended Posts

python introduction
01. Introduction to Python
Introduction to Python
Python PyQt5 finishing introduction
Python introduction and environment installation
Introduction to Python related modules
Python multithreading
Python CookBook
Python FAQ
Python3 dictionary
python (you-get)
Python string
Python basics
Python descriptor
Python basics 2
Python exec
Python notes
Python3 tuple
CentOS + Python3.6+
Python advanced (1)
Python IO
Python multithreading
Python toolchain
Python3 list
Python multitasking-coroutine
Python overview
Python analytic
Python basics
07. Python3 functions
Python basics 3
Python multitasking-threads
Python from entry to proficiency (2): Introduction to Python
Python functions
python sys.stdout
python operator
Python entry-3
Centos 7.5 python3.6
Python string
python queue Queue
Python basics 4
Python basics 5
Introduction to Python commonly used visualization libraries
A quick introduction to Python regular expressions
Centos6 install Python2.7.13
Python answers questions
Python basic syntax (1)
Python exit loop
Ubuntu16 upgrade Python3
Introduction to Podman
Centos7 install Python 3.6.
ubuntu18.04 install python2
Python classic algorithm
Relearn ubuntu --python3
Python2.7 [Installation Tutorial]
Python string manipulation
Python 3.9 is here!
Python study notes (1)
CentOS7 upgrade python3
Python3 basic syntax
Python review one
linux+ubuntu solve python