How to call Python script from Android

后端 未结 1 845
名媛妹妹
名媛妹妹 2021-01-06 00:36

Is it possible in Android to call Python script? I have already some scripts in Python 2.7 and I want to call that from Android(that script create file and fills with data).

1条回答
  •  北荒
    北荒 (楼主)
    2021-01-06 01:08

    With googles SL4A-project, it's possible to have Python-scripts execute on your Android phone.

    Parts of the Android API are wrapped for Python (but not all of it)

    You can embed Python-scripts in your application (sounds like your approach).

    0 讨论(0)
提交回复
热议问题