Has anyone had success running k/n code from pytho...
# kotlin-native
j
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
Well kn will be visible to python just like a regular c lib
j
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