如何在我的android代码中使用python代码?

时间:2019-03-13 17:40:56

标签: android python integration

我正在制作一个android应用程序,我需要运行一些python代码。有什么办法可以将python代码集成到android中? 这是python代码。

from py_translator import Translator
s = Translator().translate(text='Hello my friend', dest='hi').text
print(s)

0 个答案:

没有答案
相关问题