script languages GUI

dgringo

Registered
I am seriously considering doing some game with a GUI. It has occurred that Tk is a very good, portable GUI for many languages (and OSs); if I would like to get it working with Python, is there any info/pointers as to make/confirm they are working together?

I know Tk and Python are on my Mac OS X Tiger, but I would like to get to the stage where I can consider application issues and NOT confirming the s/w platform is working.

Advice on Tk [with Python], please?
 
They should be working, a simple test would be to put the following in a script called hello.py:

Code:
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack()
root.mainloop()

And then test it with:

Code:
python hello.py

The script above comes verbatim from the Introduction to Tkinter
 
Back
Top