[issue6534] os.makedirs returns EACCES for "C:\"
Amaury Forgeot d'Arc
report at bugs.python.org
Tue Jul 21 23:37:43 CEST 2009
Amaury Forgeot d'Arc <amauryfa at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6534>
_______________________________________
More information about the Python-bugs-list
mailing list