Answers for "tempfile.TemporaryDirectory()"

0

tempfile.TemporaryDirectory()

import tempfile

temp_dir = tempfile.TemporaryDirectory()
print(temp_dir.name)
# use temp_dir, and when done:
temp_dir.cleanup()
Posted by: Guest on April-25-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language