Introduction to Python
One: What is Python
The founder of python is Guido van Rossum. During Christmas 1989, Guido started writing a compiler for the Python language. The name Python comes from Guido's beloved TV series, Monty Python's Flying Circus. He hoped that the new language, called Python, would meet his vision: to create a full-featured, easy-to-learn, and extensible language between C and the shell.
Two: the main areas of python
- WEB development - Django, the most popular Python web framework, supports asynchronous and high-concurrency Tornado framework;
- Network programming - Twisted network framework that supports high concurrency, asyncio introduced by py3 makes asynchronous programming very simple;
- Crawler - In the field of crawler, Python is almost the dominant position, Scrapy\Request\BeautifuSoap\urllib, etc., you can crawl whatever you want;
- Cloud computing - currently the most popular and well-known cloud computing framework is OpenStack, and Python's current popularity is largely due to cloud computing;
- Artificial intelligence - become the first development language in the era of AI and big data;
- Automated operation and maintenance - the language that operation and maintenance personnel must know is called Python;
- Financial analysis - high-frequency trading software uses Python. So far, Python is the most used language in the field of financial analysis and quantitative trading;
- Game development - Python also has many applications in online game development. Compared with Lua or C++, Python has higher-level abstraction capabilities than Lua;
Three: Types of Python
Cpython
Ipython
PyPy
Jpython
IronPython
Four: Compiler and Interpreter
- Install the Python interpreter: Write code that the Python interpreter understands
- Install the Java interpreter: Write code that the Java interpreter recognizes
- Install the PHP interpreter: Write code that the PHP interpreter recognizes