2 (most?) common uses of generators:
- async control flow
- this is what the js community has mostly been talking about
- that's a huge topic, and it's [better covered elsewhere][jlongster], so i'm not going to go over that stuff here
- iteration - this is probably the most common use case for python