April 2019
Intermediate to advanced
646 pages
16h 48m
English
The ctypes module is the most popular module to call functions from dynamic or shared libraries without the need to write custom C extensions. The reason for that is obvious. It is part of the standard library, so it is always available and does not require any external dependencies. It is a Foreign Function Interface (FFI) library and provides APIs for creating C-compatible datatypes.
In the next section, we will take a look at loading libraries.