What are some hidden features of Python?
25th March 2013
My answer to What are some hidden features of Python? on Quora
Generators and Iterators are pretty amazing. These two tutorials will really open your eyes as to how powerful they can be:
Both by David Beazley. To my mind they are the most fascinating Python tutorials out there.
More recent articles
- Running the full server-side Datasette Python app in the browser with service workers and Pyodide - 17th November 2026
- Locating the source of a mysterious beep with Claude - 9th November 2026
- Hide your slop PR descriptions behind <details><summary> - 9th November 2026
- Qwen 3.8 27B on my laptop can interpret model weights, too - 3rd November 2026