[New-bugs-announce] [issue27368] os.mkdir is not working for multiple level of directory creation in windows environment

Chandrajyoti report at bugs.python.org
Wed Jun 22 04:59:07 EDT 2016


New submission from Chandrajyoti:

Problem:
os.mkdir is not working for multiple level of directory creation in windows environment.

Explanation:
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)
messages: 269062
nosy: ChandrajyotiDas
priority: normal
severity: normal
status: open
title: os.mkdir is not working for multiple level of directory creation in windows environment
type: enhancement
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27368>
_______________________________________


More information about the New-bugs-announce mailing list