What is the practical use case for generators in python?
Classic examples like factorial series or xrange are okay. Generators will be useful only for mathematical model which has some pattern (like factorial series). Concept is cool. But I am confused where i can efficiently use it.