[Tutor] wish and tkinter

Magnus Lycka magnus@thinkware.se
Sun, 29 Sep 2002 23:49:41 +0200


At 11:26 2002-09-29 -0700, Eric Black wrote:
>hello all,
>
>i've just downloaded Python 2.2.1 from ActiveState for
>Windows.
> >>> import Tkinter
> >>> import _tkinter
> >>> Tkinter._test()
>all of these work.
>but i can't use the demos in the tk8.3 directory.  i
>get a message saying must use wish.exe. find can't
>find that file.
>Does any one know where to get wish.exe and where to
>put it so an exec command can find it and i can run
>these demos?

I assume www.scriptics.com has them, but
those things have nothing to do with Python,
so I wouldn't bother.

The Python programming language has no GUI
of it's own. The Tkinter module "piggybacks"
on the Tcl programming language and its Tk
GUI toolkit.

This means that you need parts of Tcl/Tk installed
to run Tkinter. (I thought tcl83.dll and tk83.dll
was enough though.)

If you want to investigate Tkinter, have a look
at: http://www.python.org/topics/tkinter/ ,
http://www.python.org/doc/life-preserver/ and
http://www.pythonware.com/library/tkinter/introduction/



--=20
Magnus Lyck=E5, Thinkware AB
=C4lvans v=E4g 99, SE-907 50 UME=C5
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se