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
- The Summer of Johann: prompt injections as far as the eye can see - 15th August 2025
- Open weight LLMs exhibit inconsistent performance across providers - 15th August 2025
- LLM 0.27, the annotated release notes: GPT-5 and improved tool calling - 11th August 2025