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 ccc
As far as I know, you can not (currently) use tkinter in Pythonista but at least you can (with a lot of work) build a single Python app that will run on either tkinter or Pythonista scene.
I am building a game that I want the user to be able to run on:
- Python3 using tkinter (all lowercase) or
- Python2 using Tkinter (capitalized) or
- Pythonista using scene or
*Text-only mode if all else fails.
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)