Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
42 user(s) are online (33 user(s) are browsing Forums)

Members: 0
Guests: 42

more...

Support us!

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 )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 177
The poll will close at 2025/12/1 12:00
4 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project