Regarding getting started with python, you should read these materials to help you quickly get started with python. It has certain reference value. Friends who are interested can refer to it.
You will always encounter some good ones when learning online. Article, share it with everyone, and thank the author for sharing it.
Introduction to Python
Python is a high-level A scripting language that combines interpreted, compiled, interactive and object-oriented scripting.
Python is designed to be highly readable. Compared with other languages, it often uses English keywords and some punctuation marks in other languages. It has a more distinctive grammatical structure than other languages.
Python is an interpreted language: This means that there is no compilation link in the development process. Similar to PHP and Perl languages.
Python is an interactive language: This means that you can write the program you write in a Python prompt and execute it interactively directly.
Python is an object-oriented language: This means that Python supports object-oriented style or programming techniques in which code is encapsulated in objects.
Python is a language for beginners: Python is a great language for beginning programmers, supporting a wide range of application development, from simple word processing to WWW browsers to games.
Python development history
Python was developed by Guido van Rossum in the late 1980s and 1990s. It was designed at the Dutch National Institute of Mathematics and Computer Science in the early 1990s.
Python itself was developed from many other languages, including ABC, Modula-3, C, C, Algol-68, SmallTalk, Unix shell and other scripting languages, etc.
Like the Perl language, Python source code also follows the GPL (GNU General Public License) agreement.
Now Python is maintained by a core development team, with Guido van Rossum still occupying a crucial role in guiding its progress.
Python Features
1. Easy to learn: Python has relatively Fewer keywords, a simple structure, and a well-defined syntax make it easier to learn.
2. Easy to read: Python code is more clearly defined.
3. Easy to maintain: The success of Python is that its source code is quite easy to maintain.
4. An extensive standard library: One of Python’s biggest advantages is its rich library, which is cross-platform and compatible with UNIX, Windows and Macintosh.
5. Interactive mode: Interactive mode support, you can enter the language to execute the code from the terminal and get the results, interactive testing and debugging code snippets.
6. Portable: Based on its open source nature, Python has been ported (that is, made to work) to many platforms.
7. Extensible: If you need a critical piece of code that runs quickly, or want to write some algorithms that you don’t want to open, you can use C or C to complete that part of the program, and then 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 a C/C program, allowing users of your program to gain "scripting" capabilities.
Python environment construction
Python can be applied to multiple platforms including Linux and Mac OS X.
You can enter the "python" command through the terminal window to check whether Python has been installed locally and the installation version of Python.
Unix (Solaris, Linux, FreeBSD, AIX, HP/UX, SunOS, IRIX, etc.)
Win 9x/NT/2000
Python document download address: www.python.org/doc/
Python’s latest source code, binary documents, news information, etc. can be viewed on Python’s official website: http://www.python.org /You can download Python documentation at the following link. You can download documentation in HTML, PDF, PostScript and other formats.
Python has been ported to many platforms (with modifications to enable it to work on different platforms).
You need to download the binary code for the platform you are using, and then install Python.
If binaries for your platform are not available, you need to manually compile the source code using a C compiler.
Compiled source code has more selectivity in functions and provides more flexibility for python installation.
The following are methods for installing Python on different platforms:
1. Install Python on Unix & Linux platforms
The following are methods for installing Python on Unix & Linux platforms Simple steps to install Python on Linux platform:
2. Install Python on Window platform
3. Install Python on MAC platform
The above is the detailed content of A learning material that you should read if you are getting started with python. For more information, please follow other related articles on the PHP Chinese website!