This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ChandrajyotiDas
Recipients ChandrajyotiDas
Date 2016-06-22.08:59:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466585947.59.0.278104796576.issue27368@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-06-22 08:59:07ChandrajyotiDassetrecipients: + ChandrajyotiDas
2016-06-22 08:59:07ChandrajyotiDassetmessageid: <1466585947.59.0.278104796576.issue27368@psf.upfronthosting.co.za>
2016-06-22 08:59:07ChandrajyotiDaslinkissue27368 messages
2016-06-22 08:59:07ChandrajyotiDascreate