Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
56 user(s) are online (43 user(s) are browsing Forums)

Members: 1
Guests: 55

chr, more...
Support us!
Recent OS4 Files
OS4Depot.net





python and Tkinter
Not too shy to talk
Joined:
2006/11/27 22:28
From Germany
Posts: 292
hi.

i don't know python...
so i tried to start it from a shell with:

python sys:System/Python/Lib/lib-tk/tkSimpleDialog.py

but i only get:

Traceback (most recent call last):
File "sys:System/Python/Lib/lib-tk/tkSimpleDialog.py", line 28, in <module>
from Tkinter import *
File "WorkBench:System/Python/Lib/lib-tk/Tkinter.py", line 38, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

smth wrong on my side?

thanks and regards...

_________________
Michael Merkel
(Michael.Merkel@gmx.net Home)
Member of Amiga-Freunde Pfalz, OS4 Welt
   Report Go to top

Re: python and Tkinter
Just popping in
Joined:
2007/4/15 1:51
From Fort Collins, Colorado, USA
Posts: 171
@MichaelMerkel

I think that means that the tkinter.py module is not available under AmigaOS 4.x currently (unless the new one for 4.1 update 2 has something I don't know about). The IDLE IDE is based on TkInter also so it would be nice to get that working sometime.

Most of the other GUIs for Python are either KDE, Gnome or wxWidgets derived. It might be possible to run a custom GUI from PyGame using Phil's PyGame Utilites assuming PyGame has been ported to OS 4.x.

   Report Go to top

Re: python and Tkinter
Amigans Defender
Joined:
2006/11/26 23:16
Posts: 983
@MichaelMerkel
Quote:
import _tkinter # If this fails your Python may not be configured for Tk

This is correct. Amiga Python doesn't currently support Tk.

_________________
Be authentic. Get AmigaOS.
Amiga Users of Calgary (AMUC)
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project