Which function creates a directory including missing parents in Python?
Correct answer
D. os.makedirs()
8 views
D. os.makedirs()
8 views
makedirs creates intermediate directories; mkdir creates only one level.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.