On Nov 25, 5:05 pm, Cong Ma <[EMAIL PROTECTED]> wrote:
> Can you give me some hint on getting a directory file descriptor in Python?
> Besides, what's good about os.fchdir() if I can't get a directory fd in the
> first place?

Try: os.open('<dirname>', os.O_RDONLY)

Check os for a list of the valid flag types.


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to