| | |
Built-in GUI kit
Thread Solved
![]() |
•
•
Join Date: Dec 2006
Posts: 976
Reputation:
Solved Threads: 273
GUI's are specific to the OS. What GUIs are available for the IPod and how are you packaging your programs. I don't know what's available for IPods but if there is something like py2exe, you may be able to enbed the graphics in the executable. Also, TCL/Tk/Tkinter, GTK et all may or may not run on the IPod's OS. First you have to find out what's available and then if it can somehow be included with the program. Does IPod have a programming forum where these questions have already been answered. Also you should find out if IPods have a mini python interpreter already or if programs have to be compiled into some form of native code.
Last edited by woooee; Feb 8th, 2008 at 2:16 pm.
The only GUI toolkit built-in to Python is Tk. (And Tcl/Tk most definitely does work on the iPod!)
I know next to nothing about the iPod. Is it an embedded OS?
In any case, it is certainly possible to make a single program that does python/tk, but you will likely have to hack python yourself to do it. Since you've got both libraries, I'm not sure what the problem is. Distribution, maybe?
(Oh, yeah, I'd say go with Tcl, but I don't think the footprint would be prohibitive to go with Python. But then again, I know next to nothing about the iPod...)
I know next to nothing about the iPod. Is it an embedded OS?
In any case, it is certainly possible to make a single program that does python/tk, but you will likely have to hack python yourself to do it. Since you've got both libraries, I'm not sure what the problem is. Distribution, maybe?
(Oh, yeah, I'd say go with Tcl, but I don't think the footprint would be prohibitive to go with Python. But then again, I know next to nothing about the iPod...)
Last edited by Duoas; Feb 8th, 2008 at 11:32 pm.
•
•
Join Date: Dec 2006
Posts: 976
Reputation:
Solved Threads: 273
The PC Python installation comes with Tkinter, i.e. TCL/TK, but as Duoas said, you will have to write a simple Python+Tkinter (import Tkinter) program and try it on the IPod. It's limited resources would not have a full blown Python installation, so who knows about Tkinter. It's doubtful that IPod has it. Maybe you can install it, but you may have to work with their native toolkit. Sorry, no one here knows much about it.
![]() |
Other Threads in the Python Forum
- Previous Thread: wx.lib.plot.py
- Next Thread: Projects for the Beginner - Problem with #2
| Thread Tools | Search this Thread |
abrupt accessdenied advanced ansi anti apache application approximation argv array backend beginner binary builtin calculator change command converter countpasswordentry csv curved dan08 def dictionary edit event file float format function google heads homework inches input jaunty java keyboard lapse library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric obexftp output parameters parsing path phonebook pointer prime programming py2exe pygame pyopengl python random recursion redirect remote return reverse scrolledtext session software sprite statictext statistics string strings syntax terminal text thread threading time tlapse tuple twoup ubuntu unicode unit urllib urllib2 variable voip wordgame write wxpython






