18 ms·
Hmmm. In Python, I would leverage the dedicated utility of the standard library: os.makedirs(path)
by Noe2097 5y ago
Hmmm. In Python, I would leverage the dedicated utility of the standard library:
os.makedirs(path)
- theptip 5y agoYes, agreed. I was using Python code to more explicitly illustrate the subprocess vs shell distinction in the general case, not to provide a solution to the specific problem of making a directory.