[Tkinter-discuss] Running Python 2.5 with Aqua Tcl/Tk 8.5.0
Russell E. Owen
rowen at cesmail.net
Thu Dec 27 06:20:04 CET 2007
If you would like to run Python 2.5 with Tcl/Tk 8.5.0...
Kevin Waltzer was kind enough to send me a copy of his _tkinter.so and
gave me permission to serve it. I just put it up here:
<http://www.astro.washington.edu/rowen/python/tkinter_for_tcl8.5.zip>
along with brief installation instructions. This saves the trouble of
rebuilding Python to work with Tcl/Tk 8.5 and makes it fairly easy to
switch back and forth.
I have an application that makes very heavy use of Tcl/Tk. I have not
tested it extensively yet but so far it seems to work just fine. I have
found only two issues:
* The index method of the Text widget returns a Tcl object instead of a
string. That meant I had to change one line in my code to put str()
around the value. Not bad!
* The vertical spacing between widgets has grown a bit so my windows are
taller.
However, people on MacOS X 10.5 may see repeated error messages about
threading in your log file. This seems to be a known issue but I am not
aware of a solution (though it is possible that rebuilding Tcl/Tk with
threading disabled would resolve it). Kevin and others can say more
about this than I can -- I'm still on 10.4.
-- Russell
More information about the Tkinter-discuss
mailing list