LabEx
Python 速查表 PDF

简介

  • 入门指南

速查表

  • 基础
  • 内置函数
  • 控制流
  • 函数
  • 列表和元组
  • 字典
  • 集合
  • 推导式
  • 字符串操作
  • 字符串格式化
  • 正则表达式
  • 文件和目录路径
  • 读写文件
  • JSON 和 YAML
  • 异常处理
  • 调试
  • Args 和 kwargs
  • 装饰器
  • 上下文管理器
  • 面向对象编程
  • 数据类
  • Packaging
  • 主程序:顶层脚本
  • 虚拟环境

标准库

  • Copy
  • CSV
  • Datetime
  • Itertools
  • JSON
  • OS
  • Pathlib
  • Random
  • Shelve
  • Subprocess
  • Zipfile

内置函数

  • abs
  • aiter
  • all
  • any
  • ascii
  • bin
  • bool
  • breakpoint
  • bytearray
  • bytes
  • callable
  • chr
  • classmethod
  • compile
  • complex
  • delattr
  • dict
  • dir
  • divmod
  • enumerate
  • eval
  • exec
  • filter
  • float
  • format
  • frozenset
  • getattr
  • globals
  • hasattr
  • hash
  • help
  • hex
  • id
  • import
  • input
  • int
  • isinstance
  • issubclass
  • iter
  • len
  • list
  • locals
  • map
  • max
  • memoryview
  • min
  • next
  • object
  • oct
  • open
  • ord
  • pow
  • print
  • property
  • range
  • repr
  • reversed
  • round
  • set
  • setattr
  • slice
  • sorted
  • staticmethod
  • str
  • sum
  • super
  • tuple
  • type
  • vars
  • zip

更新日志

此页面概述 Python 速查表近期的重要更新,完整的历史更新记录仍保留在主英文更新日志中。

近期亮点

  • 站点已整合 LabEx 交互实验、PDF 下载和多语言支持。
  • 博客文章、模块参考和内置函数内容仍在持续扩充。
  • 导航、测验追踪和内容质量会持续进行改进和发布。

在 GitHub 上查看完整更新日志。

下一页Getting Started
Python 速查表仓库博客
更多速查表

On this page