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!