ctypes Usage Note

Nobody nobody at nowhere.invalid
Tue Aug 2 18:13:53 EDT 2016


On Mon, 01 Aug 2016 18:41:53 -0700, Lawrence D’Oliveiro wrote:

> Sometimes people load a library with ctypes like this:
> 
>     libc = ctypes.cdll.LoadLibrary("libc.so")

That specific example is unlikely to work on any modern Linux system, as
libc.so is typically a linker script rather than a symlink to a DSO.
Likewise for libm and libpthread.




More information about the Python-list mailing list