4 ms·40yrs? Python has had generators for approx 20yrs already. Unless you're talking about a different language.by antod 4y ago40yrs? Python has had generators for approx 20yrs already. Unless you're talking about a different language.