Combining Python/Tk & Tcl/Tk

Martin v. Löwis loewis at informatik.hu-berlin.de
Fri Nov 1 04:48:38 EST 2002


Scott Smedley <scott at aao.gov.au> writes:

> Is it possible to integrate/embed Python/Tk with Tcl/Tk?

Most certainly. Python/Tk is *already* integrated with Tcl/Tk. There
is a complete Tcl running inside _tkinter.

If you have a _tkinter.tkapp object, just invoke .call on it to
execute arbitrary Tcl code.

Regards,
Martin



More information about the Python-list mailing list