[Twisted-Python] deferDirWalk code snipped

Douglas Bagnall douglas at paradise.net.nz
Thu Mar 4 06:04:58 EST 2004

Itamar Shtull-Trauring wrote:
> Separate the code into two parts - an iterator (probably using
> generators) that walks a directory, 

which could perhaps be 2.3's os.walk, or derived thereof.  It's tiny.


> and then a Twisted wrapper that uses
> reactor scheduling to spread it out over time.


More information about the Twisted-Python mailing list