Gettings subdirectories

BartlebyScrivener rpdooling at gmail.com
Wed May 3 19:32:09 EDT 2006


Sorry that I was unclear.

I sorta know how os.walk works. It's the .next() trick that I had never
seen before. For instance, if you run that statement without the
.next() on it, it says "Too many items to unpack" but with the .next()
it stops it somehow, right where I want it to stop.

It's an iterator method, right? I found it in Beazely, now I'll try to
understand it. Sorry to trouble you. 

rick




More information about the Python-list mailing list