ctypes Tutorial
summary
Introduces Python's ctypes library for calling C functions from Python without writing C code; covers defining APIs with complex structs and functions and how ctypes avoids C/Python API, memory-management, and portability issues. Demonstrates a practical wrapper implementation around the OpenLDAP C library libldap using ctypes.
AI-written summary · about
related talks
31mUnderstanding Python from the inside: C concepts to dive into CPython fearless
01h 01mExtend and Embed Python with C++
28mCall a C API from Python becomes more enjoyable with CFFI
31mPlaying with CPython Objects Internals
01h 02mWriting Python Bindings for C++ Libraries: Easy-to-use Performance
28mCython in Practice: A Deep Dive into Legacy C Integration and Debugging
01h 51m'Extending and Wrapping C and C++ with Python' - Diego Rodriguez-Losada [ ACCU 2016 ]
36mPython, C, C++, and Fortran Relationship Status: It’s Not That Complicated
