Has anyone had success running k/n code from python? Trying to find the right approach between CPython extension, ctypes or something else. Curious if anyone has some experiences to share
b
Big Chungus
03/10/2022, 8:21 AM
Well kn will be visible to python just like a regular c lib
j
Joaquim
03/12/2022, 1:11 AM
yes, but I found the generated nested struct format tricky to represent with ctypes for example. You could also use the python C lib inside
nativeMain/
and expose your API that way. Multiple ways to approach it, wonder if anyone has done it before and what they would recommend