Getting started with Python
This series provides Python learning-related notes, including IT users, learn more harmless, explore more, stimulate learning interest, and think more. You only need to understand what you need and use it as a knowledge reserve, it will not be too far behind.
This article describes the background and environment of Python.
1. Understand Python
1. Python language features:
Use the Python official website Https: // www.python.org to explain:
Python is powerful... and fast;
Plays well with others;
Runs everywhere;
Is friendly & easy to learn;
Is Open.
That is: The Python language is powerful and fast to develop. It has good interactivity, portability, user-friendly, easy to learn, and open source.
Python is an interpreted, object-oriented, and dynamic data type high-level programming language. Since the birth of the Python language in Early 1990s, it has been widely used in processing system management tasks and Web programming.
2. Main Functions of the Python Standard Library include:
Text processing, including text formatting, regular expression matching, text difference calculation and merging, Unicode support, binary data processing, and other functions;
File processing, including file operations, creating temporary files, File compression and archiving, and operating configuration files;
Operating system functions, including support for threads and processes, IO reuse, date and time processing, calling system functions, and logging;
Network communication, including network sockets, SSL encrypted communication, asynchronous network communication, and other functions;
The network protocol supports multiple network protocols such as HTTP, FTP, SMTP, POP, IMAP, NNTP, and XMLRPC, and provides a framework for compiling network servers;
W3C format support, including HTML, SGML, and XML processing;
Other functions, including international support, mathematical computation, HASH, and Tkinter.
Ii. Build a Python Environment
There are many Python compilers. Here we only introduce two types for your reference:
1, go to the official website to download Python2.7 compiler IDLE (easy to install, easy to use): https://www.python.org/
After the installation is complete, you can see in the Start Menu:
Click IDLE to open the editor and compile the applet.
2, another Python compiler Pycharm (interface layout and VC6.0 is very similar, start slowly) go to the site download: http://www.jetbrains.com/pycharm/download/ choose your own machine download;
For more information about the installation process, see pycharm. (1) Installation and first use
This chapter focuses on understanding Python and the development environment of Python, paving the way for future study. Python is still on the top of the development language rankings, and its application is also quite extensive. An accidental discovery aroused my desire to learn it and continue to work hard. come on!