[Tutor] wish and tkinter
Danny Yoo
dyoo@hkn.eecs.berkeley.edu
Sun, 29 Sep 2002 15:15:53 -0700 (PDT)
> > >>> 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.)
Hello!
Those demo files are specifically for TK stuff only, and not for
Python/Tkinter. 'wish' stands for "WIndowing SHell", and Tcl/Tk uses
that. I think the ActiveState folks just bundled a bit too much, and
accidently included the Tk-only demos.
Best of wishes!