Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
105 user(s) are online (64 user(s) are browsing Forums)

Members: 1
Guests: 104

MartinW, more...

Headlines

 
  Register To Post  

python and Tkinter
Not too shy to talk
Not too shy to talk


See User information
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...

Go to top
Re: python and Tkinter
Just popping in
Just popping in


See User information
@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.

Go to top
Re: python and Tkinter
Amigans Defender
Amigans Defender


See User information
@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.

ExecSG Team Lead
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project