Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: EACCESS is the error code returned by the underlying mkdir system call. os.mkdir won't change this, as long as an OSError is raised.
You should use another way to check that the directory exists, like os.path.isdir("c:\\") ---------- nosy: +amaury.forgeotdarc resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6534> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com