Python
友好、强大、无处不在。
Python is the friendly, readable language behind data science, AI, automation and countless web services. This track starts from zero but moves fast: install Python 3.14, master its types and data structures, write functions and classes, handle errors and files, then build real tools with HTTP, a command-line interface, automated tests and async code.
Every lesson is short, practical and checked with quizzes, so you learn by doing.
- 课时
- 29
- 时长
- 4 小时
- 级别
- 初级
本课程的内容目前为英文。
- 铜牌 可挑战
- 银牌 可挑战
- 金牌 未解锁
准备好证明自己了吗?
三场考试正等着你:铜牌、银牌和金牌。
学完后你将能够
- Write clean, modern Python 3.14 with f-strings, type hints and match
- Model data with lists, dicts, sets, comprehensions and dataclasses
- Handle errors and work with files, paths and JSON
- Set up projects with venv, pip and uv
- Build command-line tools and call web APIs
- Test with pytest and run tasks concurrently with asyncio
学习旅程
1 第 1 单元Getting started
Install Python 3.14, explore the REPL and run your first script.
0 / 22 第 2 单元Types and variables
Name values, do math, convert types and master strings.
0 / 33 第 3 单元Control flow
Decide with if and match, repeat with for and while.
0 / 44 第 4 单元Data structures
Lists, tuples, dicts and sets, plus comprehensions and unpacking.
0 / 45 第 5 单元Functions
Package logic into functions with type hints, flexible arguments and lambdas.
0 / 36 第 6 单元Objects and classes
Model your own types with classes, dataclasses, dunder methods and composition.
0 / 47 第 7 单元Errors, files and modules
Handle failures, work with files and JSON, and manage projects with venv and uv.
0 / 48 第 8 单元Practical Python
Call web APIs, build a CLI, write tests with pytest and go async.
0 / 5