Python tutorial instructions

Python tutorial instructions

This tutorial mainly refers to or quotes the rookie tutorial and official Python documentation.

The main purpose is to be used in the teaching of the college Python course, gradually summarized and perfected, and strive to be easy to understand and have a certain depth and breadth.

According to actual teaching, this tutorial will be continuously updated and improved. It needs to work hard on practicality, practical examples, and serious analysis of the basic content structure.

The goal of this tutorial: clear structure and practical content.

The main content of this tutorial:

The first part of Python basics

1. Basic

  1. Understand coding
  2. Understand the object
  3. Master commonly used built-in functions
  4. Master the methods of accessing, extracting, replacing and splicing strings
  5. Master list
  6. Master dictionary
  7. Distinguish between mutable and immutable objects
  8. Master the characteristics of sequence data types
  9. Understand iterable objects

Two, function

1. Function definition
2. Function parameter
3. Scope of function variable
4. Anonymous function
5. Recursive function
6. Closure function
7. Decoration
8. Higher-order function

Three, class

1. Class definition and related concepts
2. Class variables and instance variables
3. Differences between functions and methods
4. Encapsulation
5. Dynamic binding properties and methods
6. Inheritance
7. Polymorphism
8. Magic methods and built-in functions
9. Object-oriented Summary of the three characteristics

Four, built-in modules

1. Files and directories

The second part of Python extension

1, regular expression
2, thread
3, process
4, asynchronous O
5, sqlite3
6, socket

Guess you like

Origin blog.csdn.net/weixin_43955170/article/details/112735502