Is it possible to append elements to a python generator?
I\'m currently trying to get all images from a set of disorganized folders and write them to a new directory
Like this.
def threeGens( i, j, k ): for x in range(i): yield x for x in range(j): yield x for x in range(k): yield x
Works well.