A brief history of Python
Founder of Python: Guido van Rossum
Guido in December 1989, looking for an "after school" programming program to pass around Christmas time. Guido decided to write an interpreter for a new scripting language that was being conceived, a descendant of the ABC language that would appeal to unix/c programmers. As a slightly unrelated person, and an avid fan of the Monty Python Flying Circus, he chose Python as the title of the project.
Types of Python
- CPython: Standard Python is an official implementation, as well as a reference implementation of other Python compilers, or the most widely used Python interpreter, usually referred to as Pyton CPython. CPython is written by C. The process of executing the code is to compile the source into bytecode and then interpret the execution by the Python virtual machine.
- Jython:java implementation of Python, when executing code, the process is to compile the source codes into bytecode, and then interpreted by the JVN virtual machine execution.
- IronPython:. NET implementation of Python, similar to Jython, compiles the source code into bytecode and then runs on the CLR.
- PyPy: Python implemented with Rpython, using tracing JIT technology. Rpython is a subset of Python.
- Cython, Brython, Rubypython,pyston, etc.
Why use Python
- The Linux system comes with native,
- Python can be used in many areas. such as: data processing, graphics processing, mathematical processing, Text processing, system programming, network programming, database programming and so on. Many companies use Python:google,youtobe,intel, Cisco, Hewlett-Packard, Seagate, etc.
- Rich third-party libraries
- Ranking of Python
Selection of Python versions
- From open source projects, the proportion of support py3 has been greatly improved, and well-known projects generally support py2.7 and py3+.
- Py3 is more standardized and unified than PY2.
- The string default encoding in Py3 uses Unicode.
- Py3 solves the mess of strings and binary data in Py2. A string in Py2 can represent both literal data and binary data
- py2.7 is the last version of the 2.x series and has stopped developing without adding new features. 2020 termination of support.
Deployment of the Python environment: Deploy Python under Windows:
- Installation package: https://www.python.org/downloads/
- Default installation path: Python2 C:\python27 python3 C:\python35 # The last number will be different depending on the version
- Configure environment variables: Computers, properties, computer name, domain, and workgroup settings (change settings), advanced environment variable, add the installation path in step 2 to the variable path
Linux Deployment Python
Linux comes with Python, it is recommended to use ubuntu14.04 and above, bring your own python2 and Python3 two sets of environments.
A Brief History of Python