ID EN
Sys

prefix

Python 3.11

A string giving the site-specific directory prefix where the platform independent Python files are installed; on Unix, the default is /usr/local. This can be set at build time with the --prefix argument to the configure script. See Installation paths for derived paths.

Syntax

PYTHON
sys.prefix

See Also

--prefix Installation paths virtual environment base_prefix