Velocity Reviews

Velocity Reviews (
-   Python (
-   -   dircache.listdir() or os.listdir() (

kai 04-11-2006 08:58 AM

dircache.listdir() or os.listdir()

I use dircache.listdir(myDir) in my module repeatedly. On OS WIN 2000
listdir() will re-read the directory structure! But on AIX, listdir()
will not re-read the directory structure (see Python Library
I work with python version 2.2.

Now my 2 questions:
Why does dircache.listdir() work different?
Can I change in my modules dircache.listdir() with os.listdir() without
problems. I want to use the re-read functionality.

Thanks for your hints, Kai.

kai 04-11-2006 10:11 AM

Re: dircache.listdir() or os.listdir()
sorry, my posting was crazy

All times are GMT. The time now is 09:31 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.