Python design patterns, in 4 images. 🐍
Strategy is a function you pass in. A factory is a dict from a name to a function. Observer is a list of functions.
#Python #Coding
Python profiling and performance, in 4 images. 🐍
timeit compares small pieces of code. cProfile shows where a program spends time: read tottime first.
#Python #Coding
Watch it here: youtu.be/AMXGAESE21U
Next up: profiling and performance.
























