Is possible install TKinter??
rustywild245 last edited by
Someone know if is possible install tkinter in ppythonista?
jose3f23 last edited by
Right now it is not possible.
Do you mean that Ole includes tkinter in a future release?
IMHO extremely hard work.
See this link:
ccc last edited by
As far as I know, you can not (currently) use tkinter in Pythonista but as least you can (with a <i>lot</i> of work) build a <b>single</b> Python app that will run on <b>either</b> tkinter <b>or</b> Pythonista scene.
I am building a game that I want the user to be able to run on:
<li>Python3 using tkinter (all lowercase) or</li>
<li>Python2 using Tkinter (capitalized) or</li>
<li>Pythonista using scene or</li>
<li>Text only mode if all else fails.</li>
Using the MVC programming pattern, my goal is to have a single Controller and a single Model but have three different Views (tkinter, scene, text only). It will be a real test of separation of concerns. Wish me luck!
guiSystem = None try: # tkinter on Python3 import tkinter guiSystem = 'tkinter' except ImportError: try: # tkinter on Python2 import Tkinter as tkinter guiSystem = 'tkinter' except ImportError: try: # scene on Pythonista on iOS import scene guiSystem = 'scene' except ImportError: pass print('guiSystem:', guiSystem)