Python ctypes

Sometimes when programming in Python, you may feel the need to use functions that were written in another language. This is usually because Python is much slower in comparison to compiled languages like C++ or C…

Here is a quick intro – watch the 2nd video for the full breakdown!

https://youtu.be/-drPr7vfyBk

https://youtu.be/6OvV3pzQpDU

ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python.”

https://docs.python.org/3/library/ctypes.html