Python 3.13.2 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> import tempfile
>>> tempfile.gettempdir()
'/tmp'
>>> os.environ["TMP"] = "/tmp/xis"
>>> tempfile.gettempdir()
'/tmp'