Skip to main content

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

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.