I have two questions.
First, how can I find out what Python modules (and their versions) come with Mac OS-X 10.6.8 Snow Leopard?
Second, what is the deal with Snow Leopard and Tix
? I absolutely cannot understand this. If I import Tix
, no errors. If I interactively type
>>> help(Tix)
I get megabytes of info on using Tix. If I go any further this happens...
>>> root = Tix.Tk()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tix.py", line 210, in __init__
_tkinter.TclError: can't find package Tix
>>>
Oh, the widow will open but I still get the error. I click the window and notice the menu bar said, "Python". Under, "File" I see, "Run Widget Demo". I start it up and every Tix demo runs. When I click the demo's, "See code" I see it's all in (what I assume to be) Tcl.
Tcl/Tk is version 8.5x, Tix is installed and I can import it with Python but I can't use it?