2 ms·
https://docs.python.org/3/library/ctypes.html https://docs.python.org/3/library/ctypes.html
by formerly_proven 3y ago
https://docs.python.org/3/library/ctypes.html https://docs.python.org/3/library/ctypes.html
- LtWorf 3y agoYep this is how I did it. Using a subprocess and pipes wouldn't work with a .so file. I'd need to write a C wrapper to implement a way to call functions and marshall parameters in binary… Basically CORBA over a pipe rather than a socket!