Utilities¶
The functions in this chapter perform various utility tasks, ranging from helping C code be more portable across platforms, using Python modules from C, and parsing function arguments and constructing Python values from C values.
- Operating System Utilities
- System Functions
- Process Control
- Importing Modules
PyImport_ImportModule()PyImport_ImportModuleNoBlock()PyImport_ImportModuleEx()PyImport_ImportModuleLevelObject()PyImport_ImportModuleLevel()PyImport_Import()PyImport_ReloadModule()PyImport_AddModuleObject()PyImport_AddModule()PyImport_ExecCodeModule()PyImport_ExecCodeModuleEx()PyImport_ExecCodeModuleObject()PyImport_ExecCodeModuleWithPathnames()PyImport_GetMagicNumber()PyImport_GetMagicTag()PyImport_GetModuleDict()PyImport_GetModule()PyImport_GetImporter()PyImport_ImportFrozenModuleObject()PyImport_ImportFrozenModule()_frozenPyImport_FrozenModulesPyImport_AppendInittab()_inittabPyImport_ExtendInittab()
- Data marshalling support
- Parsing arguments and building values
- String conversion and formatting
- Reflection
- Codec registry and support functions