ID EN
Tempfile

tempdir

Python 3.11

When set to a value other than None, this variable defines the default value for the dir argument to the functions defined in this module, including its type, bytes or str. It cannot be a path-like object.

Syntax

PYTHON
tempfile.tempdir

See Also

path-like object gettempprefix() gettempdir() mkstemp() mkdtemp()