Interview-notes icon indicating copy to clipboard operation
Interview-notes copied to clipboard

Python随笔

Interview

面试中遇到的尴尬的python题

  • 代码的运行原理
  • Singleton实现
  • python如何实现int函数
  • python对象的理解
  • python的迭代器和生成器
  • __radd__方法
  • 导入机制
  • python常用小技巧

Python设计模式

Python与设计模式--前言

Python与设计模式--设计原则

  1. Python与设计模式--单例模式
  2. Python与设计模式--工厂类相关模式
  3. Python与设计模式--建造者模式
  4. Python与设计模式--原型模式
  5. Python与设计模式--代理模式
  6. Python与设计模式--装饰器模式
  7. Python与设计模式--适配器模式
  8. Python与设计模式--门面模式
  9. Python与设计模式--组合模式
  10. Python与设计模式--享元模式
  11. Python与设计模式--桥梁模式
  12. Python与设计模式--策略模式
  13. Python与设计模式--责任链模式
  14. Python与设计模式--命令模式
  15. Python与设计模式--中介者模式
  16. Python与设计模式--模板模式
  17. Python与设计模式--迭代器模式
  18. Python与设计模式--访问者模式
  19. Python与设计模式--观察者模式
  20. Python与设计模式--解释器模式
  21. Python与设计模式--备忘录模式
  22. Python与设计模式--状态模式