ID EN
Tempfile

gettempdir

Python 3.11

Return the name of the directory used for temporary files. This defines the default value for the dir argument to all functions in this module.

Syntax

PYTHON
tempfile.gettempdir()

See Also

tempdir tempdir