SyntaxFix
Write A Post
Hire A Developer
Questions
Recently, I found this distutils.dir_util.mkpath:
In [17]: from distutils.dir_util import mkpath In [18]: mkpath('./foo/bar') Out[18]: ['foo', 'foo/bar']