[New-bugs-announce] [issue27368] os.mkdir is not working for multiple level of directory creation in windows environment
report at bugs.python.org
Wed Jun 22 04:59:07 EDT 2016
New submission from Chandrajyoti:
os.mkdir is not working for multiple level of directory creation in windows environment.
Suppose there is a directory whose path is "D:\Output"
Now to create 2 levels of directory in side the path "D:\Output", when os.mkdir("D:\Output\Dir1\Dir2") is used, python 2.7 throws errors as below:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
WindowsError: [Error 3] The system cannot find the path specified: 'D:\\Output\\Dir1\\Dir2'
Please update python to create multiple level of directory.
components: Library (Lib)
title: os.mkdir is not working for multiple level of directory creation in windows environment
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce