PyDocs

Python Runtime Services

sysconfig

Access to Python's configuration information.
Symbols in sysconfig

_

_get_preferred_schemes
Return a dict containing preferred scheme names on the current platform.

g

get_config_h_filename
Return the path of pyconfig.h.
get_config_var
Return the value of a single variable using the dictionary returned by 'get_config_vars()'.
get_config_vars
With no arguments, return a dictionary of all configuration variables relevant for the current platform.
get_default_scheme
Return the default scheme name for the current platform.
get_makefile_filename
Return the path of the Makefile.
get_path
Return a path corresponding to the scheme.
get_path_names
Return a tuple containing the paths names.
get_paths
Return a mapping containing an install scheme.
get_platform
Return a string that identifies the current platform.
get_preferred_scheme
Return a preferred scheme name for an installation layout specified by key.
get_python_version
Return the MAJOR.MINOR Python version number as a string.
get_scheme_names
Return a tuple containing the schemes names.

i

is_python_build
Return True if the running Python interpreter was built from source and is being run from its built location, and not from a location resulting from e.g.

p

parse_config_h
Parse a config.h-style file.