Question 1 of 6
Which interface creates a temporary directory and removes its contents when the managed block ends?
Choose the API according to whether you need a temporary workspace, a file object, a visible path, or manual control.
TemporaryDirectory is a context manager for a disposable workspace and its contents.
Review this lesson