Mojo module
tempfile
Implements tempfile methods.
You can import a method from the tempfile
package. For example:
from tempfile import gettempdir
from tempfile import gettempdir
Aliasesβ
- β
TMP_MAX = 10000
:
Structsβ
- β
NamedTemporaryFile
: A handle to a temporary file. - β
TemporaryDirectory
: A temporary directory.
Functionsβ
- β
gettempdir
: Return the default directory to use for temporary files. - β
mkdtemp
: Create a temporary directory. Caller is responsible for deleting the directory when done with it.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?