Introduction to Python
Python is a high-level scripting language that combines interpretability, compilation, interaction and object-oriented.
Python’s design is very readable. Compared with other languages which often use English keywords, some punctuation symbols in other languages have more distinctive grammatical structures than other languages.
Python is an interpretative language: that means there is no compilation in the development process. Similar to PHP and Perl.
Python is an interactive language: This means that you can directly interact with your program at a Python prompt.
Python is an object-oriented language: this means that Python supports object-oriented style or Object-Encapsulated programming techniques.
Python is a beginner’s language: Python is a great language for beginner programmers. It supports a wide range of application development, from simple word processing to WWW browsers to games.
Python Development History
Python was designed by Guido van Rossum at the National Institute of mathematics and computer science in Holland in the late 80s and early 90s.
Python itself has evolved from many other languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, Unix shell, and other scripting languages.
Like Perl, the Python source code also follows the GPL (GNU General Public License) protocol.
Now that Python is maintained by a core development team, Guido van Rossum still plays a vital role in guiding its progress.
1. Easy to learn: Python has relatively fewer keywords, simple structure, and a clearly defined grammar, which makes learning easier.
2. Easy to read: Python code definition is clearer.
3. Easy to maintain: Python’s success is that its source code is fairly easy to maintain.
4. A wide range of standard libraries: One of Python’s greatest strengths is its rich libraries, cross-platform compatibility with UNIX, Windows and Macintosh.
5. Interactive mode: Interactive mode support, you can input execution code and get results from the terminal language, interactive testing and debugging code fragments.
Portability: Based on its open source features, Python has been ported (that is, to make it work) to many platforms.
7. Extensibility: If you need a critical piece of code that runs quickly, or if you want to write algorithms that are not open to you, you can use C or C++ to complete that part of the program and call it from your Python program.
8. Database: Python provides interfaces to all major commercial databases.
9. GUI programming: Python supports GUIs that can be created and ported to many system calls.
10. Embeddable: You can embed Python into C/C++ programs to give users of your programs the ability to “script”.
The above is the history of Python and web crawler introduced by Xiaobian. I hope it will be helpful to you. If you have any questions, please leave me a message. Xiaobian will reply to you in time.