I need to find some way to embed a C library and C code in python. I have looked all over and found a lot of embedding python in C examples but not very many visa versa. And I need to make sure I'm embedding the C, and not just re-wrapping it.
Thanks.
Extending Python with C is straightforward, but not brief. There is an official tutorial titled Extending Python with C or C++ available here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With