问题描述
我正在寻找提供最佳实践,设计模式和使用Python的扎实原则的任何资源.
推荐答案
这些重叠
Google Developers Day US - Python Design Design模式
另一个资源以示例为 python食谱.一个好的数字不遵循最佳实践,但是您可以在其中找到一些有用的模式
其他推荐答案
>>> import this
在Python控制台中.
尽管通常将其视为(罚款!)的笑话,但它包含几个有效的Python特异性公理.
其他推荐答案
布鲁斯·埃克尔(Bruce Eckel)的 python In Python > > > > > > > > > > 倾向于设计模式
问题描述
I am looking for any resources that gives examples of Best Practices, Design patterns and the SOLID principles using Python.
推荐答案
Some overlap in these
Intermediate and Advanced Software Carpentry in Python
Code Like a Pythonista: Idiomatic Python
Google Developers Day US - Python Design Patterns
Another resource is by example at the Python Recipes. A good number do not follow best practices but you can find some patterns in there that are useful
其他推荐答案
Type
>>> import this
in a Python console.
Although this is usually treated as a (fine!) joke, it contains a couple of valid python-specific axioms.
其他推荐答案
Bruce Eckel's Thinking in Python leans heavily on Design Patterns