tempfile.TemporaryDirectory-Kontextmanager in Python 2.7
Gibt es eine Möglichkeit, ein temporäres Verzeichnis in einem Kontextmanager mit Python 2.7 zu erstellen?
with tempfile.TemporaryDirectory() as temp_dir:
# modify files in this dir
# here the temporary diretory does not exist any more.