Discussion:
[Tutor] About python intrepeters on Android.
Ali Moradi
2015-08-06 22:22:12 UTC
Permalink
Hi, i noticed that the Python intrepeters on Android OS does not have
Tkinter!

Why they couldn't bring Tkinter on Android too? It there anyway ti use
tkintr on android too ? Tnx :)
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Alan Gauld
2015-08-06 22:40:59 UTC
Permalink
Post by Ali Moradi
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


_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Loading...