Getting started with Python: Write a crawler for fun

Getting started with Python: Write a crawler for fun

Chapter 1: Python Language Overview

1.1: About the problem of being annoyed when studying [Important]

1.2: About attention [Important]

1.3: The Birth of Python

1.4: Development trend of Python

1.5: Advantages and Disadvantages of Python

1.6: Application areas of Python

1.7: Python version and course schedule

1.8: Write a crawler for fun - case demonstration

Chapter 2: Python Environment Configuration

2.1: Python download and installation

2.2: Download and install VSCode

2.3: VSCode plugin configuration

2.4: Manually install pylint and autopep8 (supplementary)

2.5: Try to write a program first

Chapter 3: Python Basic Syntax

3.1: Variables (Part 1)

3.2: Variables (Part 2)

3.3: Notes 04:33 [paid]

3.4: Initial contact with data types - string

3.5: Initial contact with data types - numbers

3.6: Initial contact with data types - Boolean value

3.7: Initial contact with data types - None

3.8: Initial contact with data types - type() to determine data types

3.9: Initial contact with operations - arithmetic operators

3.10: Initial contact with operations - assignment operators

3.11: Initial contact with functions - function definition and call

3.12: Initial contact with functions - function parameters

3.13: Initial contact with functions - function return values

3.14: Initial contact with functions - understanding several built-in functions

3.15: A good memory is not as good as a bad pen - Arrangement

3.16: A good memory is not as good as a bad pen - Explanation

Chapter 4: Python Data Types

4.1: String (I)

4.2: Strings (Part 2)

4.3: Strings (Part 3)

4.4: String (IV)

4.5: Strings (V)

4.6: Lists

4.7: Tuples

4.8: Dictionary

4.9: Collections

4.10: Iterating (traversing) data

4.11: Magical Uses of the range() Function

4.12: Use list comprehension to improve coding efficiency

4.13: Sequence Types

4.14: Common string methods (I)

4.15: Common string methods (Part 2)

4.16: Common string methods (Part 3)

4.17: Common string methods (IV)

4.18: Common Methods of Numbers (I)

4.19: Common Methods of Numbers (II)

4.20: Common Methods of Numbers (III)

4.21: Common Methods of Numbers (IV)

4.22: Common methods of lists (I)

4.23: Common methods of lists (II)

4.24: Common methods of lists (Part 3)

4.25: Common methods of tuples

4.26: Common dictionary methods (I)

4.27: Common dictionary methods (Part 2)

4.28: Common dictionary methods (Part 3)

4.29: Common methods of collections (I)

4.30: Common methods of collections (II)

4.31: Common methods of collections (III)

4.32: Common methods of collections (IV)

4.33: Common methods of collections (V)

Chapter 5: Python Flow Control

5.1: What are == and !=

5.2: Understanding process control

5.3: Conditional Statements

5.4: Ternary Expression (Ternary Operator)

5.5: Loop Statements

5.6: continue skipping loop

5.7: break jumps out of (stops) the loop

5.8: Getting started with iterators

5.9: First Look at Generators

Chapter 6: Python Operators

6.1: Arithmetic operators

6.2: Assignment Operator - Walrus Operator

6.3: Comparison operators

6.4: Logical Operators (I)

6.5: Logical Operators (II)

6.6: Membership Operators

6.7: Identity Operator

6.8: Bitwise Operators (I)

6.9: Bitwise Operators (II)

6.10: Bitwise Operators (III)

6.11: Bitwise Operators (IV)

6.12: Operator precedence

Chapter 7: Python Functions

7.1: View built-in functions and function help information

7.2: Supplement of function definition

7.3: Supplement of function annotations

7.4: The role of function names

7.5: Supplement of function return value (return)

7.6: Sequence Unpacking and Packing

7.7: Required function parameters and keyword parameter passing

7.8: Default function arguments

7.9: Variable function parameters

7.10: Keyword Arguments

7.11: Function parameter hints

7.12: Unpacking and passing parameters

7.13: Scope and scope chain

7.14: The global keyword

7.15: nonlocal keyword

7.16: Recursion (I)

7.17: Recursion (II)

7.18: Closures

7.19: Lambda expressions

Chapter 8: Python Modules and Packages

8.1: What is a module?

8.2: Understanding Namespaces

8.3: Module Import (I)

8.4: Module Import (Part 2)

8.5: Understanding the __name__ attribute

8.6: What is a package?

8.7: Package Import (I)

8.8: Package import (Part 2)

8.9: Package Import (Part 3)

8.10: Package Import (IV)

8.11: Package Import (V)

8.12: Built-in attributes of modules

8.13: Built-in properties of packages

8.14: pip introduction and common command demonstration

Chapter 9: Python Object Orientation

9.1: Understanding Classes and Objects

9.2: What is self?

9.3: __init__() Constructor

9.4: Class variables

9.5: Private variables

9.6: Instance methods, class methods, static methods

9.7: Private Methods

9.8: The simplest inheritance

9.9: Extending functionality after inheritance

9.10: Multiple inheritance

9.11: isinstance()

9.12: Using dir()

Chapter 10: Python File Reading and Writing

10.1: Try to read and write files

10.2: Relative and absolute paths

10.3: File opening mode

10.4: File Writing

10.5: File Reading

10.6: Closing files

10.7: Renaming and deleting files

10.8: Iterating over file contents

Chapter 11: Python Exception Handling

11.1: Introduction to exceptions

11.2: The simplest exception capture

11.3: Capturing Specified Exceptions

11.4: else and finally0

11.5: Custom Exceptions

Chapter 12: Python Regular Expressions - Syntax

12.1: Regular Demonstration

12.2: The simplest regular

12.3: Character Sets

12.4: Repeated Matching

12.5: Word Boundaries and String Boundaries

12.6: Greedy and Non-Greedy Modes

12.7: Subexpressions (Grouping)

12.8: Zero-width assertions

12.9: Matching IP Addresses

12.10: Matching Mailboxes

Chapter 13: Python Regular Expressions - Code

13.1: Use of the re module

13.2: Modifiers and comments in regular expressions

13.3: search, match, fullmatch

13.4: Matching objects and group capture (I)

13.5: Matching objects and group capture (Part 2)

13.6: findall, finditer

13.7: split

13.8: sub

Chapter 14: Practical Example - Writing a Crawler for Fun

14.1: Write a crawler for fun - case demonstration

14.2: Case Process Planning

14.3: request_data module writing

14.4: Write the get_data module (I)

14.5: Write the get_data module (Part 2)

14.6: Write the get_data module (Part 3)

14.7: Write the get_data module (IV)

14.8: create_dir module writing

14.9: Writing the html_template module

14.10: Writing the down_data module (I)

14.11: Writing the down_data module (Part 2)

14.12: Writing the down_data module (Part 3)

14.13: Run module writing (I)

14.14: Run module writing (Part 2)

14.15: Run module writing (Part 3)

14.16: Run module writing (IV)

14.17: Run module writing (V)

14.18: Run module writing (VI)

14.19: Run module writing (Part 7)

14.20: Run module writing (VIII)

14.21: Run module writing (Part 9)

14.22: Run module writing (ten)

14.23: End

Chapter 99: Make-up Courses

99.1:py download and installation

99.2: pycharm installation

99.3: Write the first program in pycharm

99.4: Install and configure Python on MacOS

<<:  Chinese Valentine's Day copywriting, I finally waited for you!

>>:  After studying 10 big Douyin accounts, I found 8 Douyin promotion routines

Recommend

How much does it cost to develop a mobile game?

Nowadays, most people like to play a few mobile g...

4 channels and strategies for acquiring traffic!

Introduction : In an era of traffic shortage, the...

New media software, what software do you need to operate short videos?

If you want to do your work well, you must first ...

I work in operations at Alibaba 3 - 818 classic misunderstandings in operations

Thanks Mantou for the invitation. I always find i...

10,000-word article analyzing mobile map competitors: Amap, Baidu, Tencent

This article takes the products of the three gian...

Little Red Book Promotion Notes Marketing Strategy!

If you ask me which platform users enjoy watching...