Python Learning Path
This group of documents is meant to solve two problems:
- When you need to fill in Python fundamentals in order, you should not have to jump around a pile of scattered notes.
- When you meet a concrete problem, you should still be able to return quickly to high-frequency topics such as slicing, sets, string methods, and input reading.
So this section is organized into two layers:
- Main path: read in learning order to connect the concepts.
- Quick references: organized around frequent questions for later lookup.
Recommended Reading Order
- Expressions, Numbers, and Operations
- Control Flow and Iteration
- Core Data Types and Containers
- Strings and Formatting
- Function Arguments and Calls
- Return Values, Unpacking, and Multi-result Design
- Files, Input/Output, and Exception Handling
- Modules, Imports, and Common Standard Libraries
Data Processing Branch
After the main path feels familiar, continue with these two notes:
The goal here is not to cover all of data science, but to explain the most common data structures, indexing patterns, cleaning operations, and aggregation workflows used in everyday work.
Quick Reference Entries
- Input/Output and Common Reading Patterns
- High-frequency Built-in Functions
- Slicing
- Copying, References, and Mutable Objects
- Sets
- Common String Methods
- Python Tips 01
Scope
- The default baseline is Python 3.10+.
- Engineering topics such as
venv,pytest, andtypingare not merged into the main path yet. - The writing style still keeps the feel of learning notes, while reducing question-and-answer phrasing and repeated explanations.
Archive Note
The older long article Python Final Review (Archive) is still kept in the Python archive, but it no longer serves as the main entry. Reusable parts will gradually be split into the main path and quick reference pages above.