| | |
Built-in GUI kit
Thread Solved |
•
•
Join Date: Dec 2006
Posts: 1,008
Reputation:
Solved Threads: 285
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: 1,008
Reputation:
Solved Threads: 285
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 alarm ansi anti approximation assignment avogadro backend beginner binary bluetooth calculator character cmd code customdialog cx-freeze data decimals dictionaries dictionary directory dynamic error examples exe file float format function gnu graphics gui halp heads homework http ideas import input java launcher leftmouse line linux list lists loop module mouse number numbers output parsing path pointer port prime programming progressbar projects push py2exe pygame pyglet pyqt python random recursion schedule screensaverloopinactive script scrolledtext sqlite statistics string strings sudokusolver sum table terminal text thread threading time tlapse tricks tuple tutorial twoup ubuntu unicode urllib urllib2 variable ventrilo wikipedia write wxpython xlib






