Message269062
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. |
|
Date |
User |
Action |
Args |
2016-06-22 08:59:07 | ChandrajyotiDas | set | recipients:
+ ChandrajyotiDas |
2016-06-22 08:59:07 | ChandrajyotiDas | set | messageid: <1466585947.59.0.278104796576.issue27368@psf.upfronthosting.co.za> |
2016-06-22 08:59:07 | ChandrajyotiDas | link | issue27368 messages |
2016-06-22 08:59:07 | ChandrajyotiDas | create | |
|