469,366 Members | 2,243 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,366 developers. It's quick & easy.

dircache.listdir() or os.listdir()

kai
Hello,

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
Reference).
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.

Apr 11 '06 #1
1 2992
kai
sorry, my posting was crazy

Apr 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Jason Kratz | last post: by
8 posts views Thread by Hannu Kankaanp?? | last post: by
reply views Thread by Ishwor | last post: by
7 posts views Thread by Kenneth Pronovici | last post: by
15 posts views Thread by Riccardo Galli | last post: by
reply views Thread by kai | last post: by
3 posts views Thread by vedrandekovic | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.