How to get a directory file descriptor?

greg greg at cosc.canterbury.ac.nz
Wed Nov 26 19:03:12 EST 2008


Steve Holden wrote:
> Anyway, when I try to use O_RDONLY on Vista I get
> "Permission denied":

According to the library ref, fchdir() is Unix-only, so there
probably isn't a use case for getting a file descriptor for
a directory on Windows in the first place.

-- 
Greg



More information about the Python-list mailing list