{
    "mode": "pydoc",
    "parameter": "sysconfig",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/sysconfig/json",
    "generated": "2026-06-02T14:17:26Z",
    "sections": {
        "NAME": {
            "content": "sysconfig - Access to Python's configuration information.\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/sysconfig.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "get_config_h_filename",
                    "content": "Return the path of pyconfig.h.\n"
                },
                {
                    "name": "get_config_var",
                    "content": "Return the value of a single variable using the dictionary returned by\n'getconfigvars()'.\n\nEquivalent to getconfigvars().get(name)\n"
                },
                {
                    "name": "get_config_vars",
                    "content": "With no arguments, return a dictionary of all configuration\nvariables relevant for the current platform.\n\nOn Unix, this means every variable defined in Python's installed Makefile;\nOn Windows it's a much smaller set.\n\nWith arguments, return a list of values that result from looking up\neach argument in the configuration variable dictionary.\n"
                },
                {
                    "name": "get_makefile_filename",
                    "content": "Return the path of the Makefile.\n"
                },
                {
                    "name": "get_path",
                    "content": "Return a path corresponding to the scheme.\n\n``scheme`` is the install scheme name.\n"
                },
                {
                    "name": "get_path_names",
                    "content": "Return a tuple containing the paths names.\n"
                },
                {
                    "name": "get_paths",
                    "content": "Return a mapping containing an install scheme.\n\n``scheme`` is the install scheme name. If not provided, it will\nreturn the default scheme for the current platform.\n"
                },
                {
                    "name": "get_platform",
                    "content": "Return a string that identifies the current platform.\n\nThis is used mainly to distinguish platform-specific build directories and\nplatform-specific built distributions.  Typically includes the OS name and\nversion and the architecture (as supplied by 'os.uname()'), although the\nexact information included depends on the OS; on Linux, the kernel version\nisn't particularly important.\n\nExamples of returned values:\nlinux-i586\nlinux-alpha (?)\nsolaris-2.6-sun4u\n\nWindows will return one of:\nwin-amd64 (64bit Windows on AMD64 (aka x8664, Intel64, EM64T, etc)\nwin32 (all others - specifically, sys.platform is returned)\n\nFor other non-POSIX platforms, currently just returns 'sys.platform'.\n"
                },
                {
                    "name": "get_python_version",
                    "content": ""
                },
                {
                    "name": "get_scheme_names",
                    "content": "Return a tuple containing the schemes names.\n"
                },
                {
                    "name": "parse_config_h",
                    "content": "Parse a config.h-style file.\n\nA dictionary containing name/value pairs is returned.  If an\noptional dictionary is passed in as the second argument, it is\nused instead of a new dictionary.\n"
                }
            ]
        },
        "DATA": {
            "content": "all = ['getconfighfilename', 'getconfigvar', 'getconfigvars...\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3.10/sysconfig.py\n\n",
            "subsections": []
        }
    },
    "summary": "sysconfig - Access to Python's configuration information.",
    "flags": [],
    "examples": [],
    "see_also": []
}