What does the key word “yield” in Python do?
11th October 2010
My answer to What does the key word “yield” in Python do? on Quora
The best documentation I’ve seen on generators is this: http://www.dabeaz.com/generators/
More recent articles
- Phoenix.new is Fly's entry into the prompt-driven app development space - 23rd June 2025
- Trying out the new Gemini 2.5 model family - 17th June 2025
- The lethal trifecta for AI agents: private data, untrusted content, and external communication - 16th June 2025