Skip to content

AndroidBirdBoom/pythonlearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python


廖雪峰python学习网址
进度:

  1. python基础(完成)
    • 数据类型和变量
    • 字符串和编码
    • list、tuple
    • dict、set
  2. 函数章节(完成)
    • 调用函数
    • 定义函数
    • 函数的参数
    • 递归函数
  3. 高级特性章节(完成)
    • 切片 s[::-1]
    • 迭代 for item in L
    • 列表生成式 [x for x in 'abc']
    • 生成器 (x for x in 'abc') & yield
    • 迭代器 Iterator & Iterable
  4. 函数式编程(完成)
    • 高阶函数 map、reduce、filter、sorted
    • 返回函数
    • 匿名函数 lambda
    • 装饰器 functools.warp(fun)
    • 偏函数 functools.partical
  5. 模块(完成)
    • 使用模块
    • 安装模块
  6. 面向对象编程(已完成)
    • 类和实例 class
    • 访问限制 __attr、__attr__、_attr
    • 继承和多态 鸭子类型
    • 获取对象消息 type、hasattr、getattr、setattr
    • 实例属性和类属性 类属性实例间共享
  7. 面向对象高级编程(已完成)
    • 使用__slots__ 限制属性访问
    • 使用@property 方法->属性
    • 多重继承 MixIn
    • 定制类 __str__、__repr__、__iter__、__next__、__getitem__、__getattr__、__call__
    • 使用枚举类
    • 使用元类 ???
  8. 错误、调试和测试(已完成)
    • 错误处理 try...except...else...finally
    • 调试
    • 单元测试 unittest.main()
    • 文档测试
  9. IO编程(已完成)
    • 文件读写 open
    • StringIO和BytesIO
    • 操作文件和目录 join、split、splittest、mkdir、rmdir、abspath、isfile、isdir
    • 序列化 dump、load、dumps、loads
  10. 进程和线程(已完成)
    • 多进程 Process Pool
    • 多线程 Thread
    • ThreadLocal threading.local()
    • 进程 VS 线程
    • 分布式进程
  11. 正则表达式(已完成) match、search、split、groups
  12. 常用内建模块(进行中)
  13. 常用第三方模块

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages