Transforming Code into Idiomatic Python
Next Day Video · Talk · YouTube title: Transforming Code into Beautiful, Idiomatic Python
Why it's here
HN treats it as a must-watch classic for writing Pythonic code, though somewhat dated for modern Python.
What it covers
Raymond Hettinger's PyCon 2013 talk on transforming code into idiomatic Python through a series of before-and-after refactorings. It shows how to use iterators, dictionaries, named tuples and other language features well.