Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Is possible install TKinter??
-
Hi:
Someone know if is possible install tkinter in ppythonista?
thanx
-
Right now it is not possible.
Do you mean that Ole includes tkinter in a future release?
IMHO extremely hard work.See this link:
http://mail.python.org/pipermail/tkinter-discuss/2013-March/003380.html
-
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)