sysconfig

Stdlib — MiscPython 2.0+Intermediate

Access Python configuration info: paths, compile flags, platform

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import sysconfig

print(f"Module: sysconfig")
print(f"Contents: {dir(sysconfig)[:10]}")

The sysconfig module is part of Python's standard library. Access Python configuration info: paths, compile flags, platform.

Try in Playground

Tags

stdlibutility