Need a recursion lesson

Eide nickliz at t-online.de
Tue Dec 21 21:33:44 EST 1999


Hello,
I would like to do a search for file types, and I figure a good way to do it
would be with recursion...  compare a sliced 'file[:-6]' of each item in
list from a directory.  And if there is another directory in that list to do
a listdir on it and .... My head is spinning already.
I have no clue what I'm doing. Does anyone have any pointers to about how to
walk through something like this? Any help would be a lot.

Nick





More information about the Python-list mailing list