Python’s super() considered super!html
rhettinger是python核心開發者. 這篇博文也是講super最好最深刻的博文了.python
Understanding Python Decoratorsgit
若是你尚未常常性的用裝飾器, 你就要思考你的工做需求是否是的太簡單了, 或者該考慮下這種AOP模式的開發的做用了github
What is a metaclass in Python? Metaclasses Demystified面試
元類是python高階語法. 合理的使用能夠減小大量重複性的代碼.數據庫
Try/catch or validation for speed?django
這其實就是事先檢查和異常處理2個方式的討論編程
Python (and Python C API): new versus init設計模式
這也是一個常見的面試題.api
可是注意標題. 其實self不是一個關鍵詞. 這裏知識幫助你理解self的用意
Unicode In Python, Completely Demystified
以前我曾經很是困惑於各類unicode報錯
Be careful with exec and eval in Python
個人觀點是歷來都不要用exec/eval
PerformanceTips Python Performance Tips, Part 1 Python Performance Tips, Part 2
Intermediate and Advanced Software Carpentry in Python
這個文檔不是很是難, 甚至有點過期. 可是涵蓋了python的方方面面. 很是有助於開拓視野, 更瞭解python
What does the yield keyword do in Python 如何理解Python關鍵字yield
yield 是python語言裏面讓初學者困惑的關鍵詞之一. 能夠參考這2個理解讓你對yield入門. 而且以後在正確的場景下使用
Difference between Python’s Generators and Iterators 迭代器(Iterator)與生成器(Generator)的區別
這個是很常見的面試問題.
所謂設計模式其實就是通過總結、優化的,對咱們常常會碰到的一些編程問題的可重用解決方案. 其有時候會發現沃恩平常工做中的一些思考就是設計模式
python設計模式. 供參考.
Descriptor HowTo Guide Python描述器引導(翻譯)
descriptor是python高階的特性, 能夠了解下python設計的優雅. PS: 裏面也提到了類方法和靜態方的區別