Archive for May 7th, 2007

Generators are one of the exotic features present in python which makes it a very,very high level programming language.Generator, simply put, is a python function with keyword yield in it. The yield keyword will suspend the function’s execution,remember the state of all the local variables and will yield a value,unlike a normal function which will […]