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 -- http://mail.python.org/mailman/listinfo/python-list