Hacker News new | ask | show | jobs
by zeekay 4858 days ago
Not much different, really. The biggest practical difference is that Python generators implement the iterator protocol which means it's possible to easily iterate over them with for loops, etc.