[Tutor] About python intrepeters on Android.
Alan Gauld
alan.gauld at btinternet.com
Fri Aug 7 00:40:59 CEST 2015
On 06/08/15 23:22, Ali Moradi wrote:
> Hi, i noticed that the Python intrepeters on Android OS does not have
> Tkinter!
>
> Why they couldn't bring Tkinter on Android too?
Two reasons:
1) Tkinter is just a thin wrapper around the Tcl/Tk UI toolkit.
If Tk isn't on Android then Tkinter will not be.
And Tk isn't. (It may be at some point but not yet)
2) Tk, and so Tkinter, is based on a windowed environment.
Android is not. It would be a major task to try to rethink
how all the widgets in Tk would look and work under Android.
The good news is that there is a UI toolkit for Python
on Android (as well as Windows, Linux, MacOS and iOS)
called Kivy which is apparently quite powerful
and easy to learn. Take a look at kivy.org.
I've never used it but have heard positive reports.
HTH
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list