supper fast walk
gangli at msn.com
gangli at msn.com
Wed Sep 13 16:14:47 EDT 2000
More information about the Python-list mailing list
Wed Sep 13 16:14:47 EDT 2000
- Previous message (by thread): supper fast walk
- Next message (by thread): ansok at datagrossisten.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <8po0dc$9sv$1 at news.news.kodak.com>, "Darrell Gallion" <darrell at dorb.com> wrote: > I didn't have a performance issue, but used your code anyway. Thanks. > Many hours spent reading newsgroups and 30 min to reuse some code found > there :) You are welcome. > > Added 'RECYCLER' > DIR_EXCLUDES = ('..','.','RECYCLER') may add more: DIR_EXCLUDES = ('..','.','RECYCLER', 'PYTHON', 'WINNT') > > This one is non standard, allows the func to avoid descending. > # call callback function > cc = func(arg, top, f_objs, subdirs) > if cc == 0: > return > Instead of checking returns, change subdirs in func: del subdirs[:] #stop descending Sent via Deja.com http://www.deja.com/ Before you buy.
- Previous message (by thread): supper fast walk
- Next message (by thread): ansok at datagrossisten.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list