Calling tcl from python and viceversa

Gerard Sookahet gerard.sookahet at artenum.com
Sat Jul 19 19:54:20 CEST 2003


Carlos P. wrote:

> Hi!
> I want to call tcl from python and python from tcl. The big picture is
> that I´m writing an application GUI with tcl/tk and application logic
> with python, so at least I want to call python events from the tk GUI.
> I have read about _tkinter and tkapp.call although I couldn´t find any
> detailed documentation. And, anyway, that seems to work in one
> direction (python->tcl) but I don´t know how to make it work in the
> other (tcl->python).
> Thank you,
> Carlos

Hello,

I have found an hint in the Tcl Wiki about Tclpython:

  http://mini.net/tcl/5630

May be this will help you a little.

Gerard Sookahet





More information about the Python-list mailing list