sysconfig.get_path_names
Prev: sysconfig.get_path | Up: sysconfig | Next: sysconfig.get_paths
Rel: sysconfig.get_config_h_filename, sysconfig.get_config_var, sysconfig.get_config_vars, sysconfig.get_makefile_filename
Ref: docs.python.org — sysconfig.get_path_names
Tags: #public #python3 #stdlib #sysconfig
Import
import sysconfig
from sysconfig import get_path_names
Signature & Overview
sysconfig.get_path_names()
Return a tuple containing the paths names.
Usage
import sysconfig
assert 'purelib' in sysconfig.get_path_names()
Gotchas
- Lists all valid keys accepted by
get_path().
REPL Inspect
from sysconfig import get_path_names
help(get_path_names)
Linked from
Related notes
- tuts/python3/stdlib_module/sysconfig/get_path Linked here; links to this page; shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_paths 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_platform shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_python_version shared tags: #stdlib, #sysconfig
- tuts/python3/stdlib_module/sysconfig/get_scheme_names shared tags: #stdlib, #sysconfig