sysconfig.get_scheme_names
Prev: sysconfig.get_python_version | Up: sysconfig | Next: sysconfig.parse_config_h
Rel: sysconfig.get_config_h_filename, sysconfig.get_config_var, sysconfig.get_config_vars, sysconfig.get_makefile_filename
Ref: docs.python.org — sysconfig.get_scheme_names
Tags: #public #python3 #stdlib #sysconfig
Import
import sysconfig
from sysconfig import get_scheme_names
Signature & Overview
sysconfig.get_scheme_names()
Return a tuple containing the schemes names.
Usage
import sysconfig
assert 'posix_prefix' in sysconfig.get_scheme_names()
Gotchas
- Lists all installation path schemes supported on this Python build.
REPL Inspect
from sysconfig import get_scheme_names
help(get_scheme_names)
Linked from
Related notes
- tuts/python3/stdlib_module/sysconfig/get_python_version Linked here; links to this page; shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/parse_config_h Linked here; links to this page; shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/sysconfig/get_config_h_filename Linked here; shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_config_var Linked here; shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_config_vars Linked here; shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_makefile_filename Linked here; shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_path shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_path_names shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_paths shared tags: #stdlib, #sysconfig