Python Learning Series (1) (basic)

Source: Internet
Author: User

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. If you are interested, we recommend a basic video: http://edu.51cto.com/lesson/id-11637.html

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, the main functions of the Python standard library are: (reference: http://baike.sogou.com/v58828.htm)

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 functionsIncluding 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;

Network ProtocolSupports 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 functionsIncluding 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 the 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 to write the applet. 2, another Python compiler Pycharm (interface layout and VC6.0 is very similar, boot time is relatively slow) go to the site download: http://www.jetbrains.com/pycharm/download/ choose your own machine download; about the installation process, have master detailed operation guide: http://blog.csdn.net/chenggong2dm/article/details/9365437 this chapter is the first to understand Python, understand Python development environment, paving the way for future learning. 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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.