Is it possible to use Python to write cross-platform apps for both iOS and Android?

前端 未结 5 1095
眼角桃花
眼角桃花 2020-12-07 17:42

Is it possible to use Python to write cross-platform apps for both iOS and Android

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 18:04

    You can try and combine brython and cordova. The Brython wiki describes how to write an Android app using Brython, which might provide the necessary information to do this also using Cordova. I haven't tested this yet, but it sounds promising. You should however be aware that due to its nature, Brython cannot support x86-compiled packages such as OpenCV (see e.g. here). On the other hand, if you know a bit about JavaScript / HTML5, you can use the WebView native functions, e.g. http://www.brython.info/gallery/three.html.

提交回复
热议问题