Which module creates temporary files and directories in Python?
Correct answer
B. tempfile
B. tempfile
tempfile provides TemporaryFile and TemporaryDirectory.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is B? Ask here and get an explanation.