Integrating a python code with kotlin

Hello, I recently wrote a python program and I wanted to integrate the program with my Kotlin application and anyone could tell me how can I do that ?

1 Like

You can call it as external process: https://www.baeldung.com/java-lang-processbuilder-api.

2 Likes

thanks for the help

I have been looking for integration options for python on Android kotlin/java and found chaquopy. There is no much other options and this one looks the most promising.

For Python on Android, there is also Kivy.