Python Forum
one code by python for platforms - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: one code by python for platforms (/thread-14249.html)



one code by python for platforms - Aashuraa - Nov-21-2018

can we write one code to python and can execute on every platform like android ios web? ?


RE: one code by python for platforms - Larz60+ - Nov-21-2018

yes, so long as the system has (proper version of) python installed and required packages


RE: one code by python for platforms - Alfalfa - Nov-27-2018

it mostly depends on your dependencies ;)


RE: one code by python for platforms - DeaD_EyE - Nov-28-2018

Depends on the framework. Python is not well supported on Android and ios, but there is Kiviy, which allows you to write NUI (Natural User Interfaces) for Android, ios, Linux, Mac and Windows. This framework has it's own style. It's not using the native graphics library of the os. So this apps are looking everywhere the same.

But you can use also QT5 for developing GUIs ony many different devices.


RE: one code by python for platforms - Alfalfa - Nov-29-2018

You might be interested by the python BeeWare framework.


RE: one code by python for platforms - DeaD_EyE - Nov-29-2018

Here the talk from the creator of this project: https://www.youtube.com/watch?v=qaPzlIJ57dk


RE: one code by python for platforms - wavic - Nov-29-2018

(Nov-29-2018, 01:39 AM)Alfalfa Wrote: You might be interested by the python BeeWare framework.

Is it ready for production?


RE: one code by python for platforms - Alfalfa - Nov-29-2018

(Nov-29-2018, 11:03 AM)wavic Wrote:
(Nov-29-2018, 01:39 AM)Alfalfa Wrote: You might be interested by the python BeeWare framework.

Is it ready for production?

I only worked with Qt5 framework so far, but this one seems very promising. I thought it made sense to point it out since the OP mentionned Android. It claims to handle packaging, which is definetly a big plus as it is difficult to deploy an app on differents platform, even between differents Linux distros.