Nicest for Python, I assume.
Many languages have FFI. Lua, PHP, etc. https://en.wikipedia.org/wiki/Foreign_function_interface
I don't understand the choice of Python for things like gluing together C programs. Seems like a performant mistake, at the very least.