python design patterns


I am looking for any resources that gives examples of Best Practices, Design patterns and the SOLID principles using Python.

3/3/2009 1:47:28 PM

Accepted Answer

Some overlap in these

Intermediate and Advanced Software Carpentry in Python

Code Like a Pythonista: Idiomatic Python

Python Idioms and Efficiency

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

12/28/2018 11:32:34 PM


>>> import this

in a Python console.

Although this is usually treated as a (fine!) joke, it contains a couple of valid python-specific axioms.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow