On this page
  1. sysconfig.get_config_h_filename
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

sysconfig.get_config_h_filename

Up: sysconfig | Next: sysconfig.get_config_var
Rel: sysconfig.get_config_var, sysconfig.get_config_vars, sysconfig.get_makefile_filename, sysconfig.get_path
Ref: docs.python.org — sysconfig.get_config_h_filename
Tags: #public #python3 #stdlib #sysconfig


Import

import sysconfig
from sysconfig import get_config_h_filename

Signature & Overview

sysconfig.get_config_h_filename()

Return the path of pyconfig.h.

Usage

import sysconfig

assert sysconfig.get_config_h_filename().endswith('pyconfig.h')

Gotchas

REPL Inspect

from sysconfig import get_config_h_filename
help(get_config_h_filename)

Linked from

Related notes