Updated 2011-08-13 21:41:48 by RLE
 What: tclpython
 Where: http://jfontain.free.fr/tclpython.htm
 Description: Tcl extenson which allows you to create python interpreters
        from within a Tcl application and evaluate python code.
        Currently at version 3.1.0 .
 Updated: 02/2001
 Contact: mailto:[email protected] (Jean-Luc Fontaine )

This package allows the execution of Python code from a Tcl interpreter, as in:
package require tclpython 3
set interpreter [python::interp new]
$interpreter exec {print("Hello World")}
puts [$interpreter eval 3/2.0]
python::interp delete $interpreter

which outputs:
Hello World

It works by creating one or more embedded Python interpreters and sending them strings to evaluate or execute. Modules can be loaded in the Python interpreter as if it were the real Python program.

VK: currently that package works on Windows, but requires corrections shown at a patch at [1] (URL is 404 on Aug 20, 2011)
 What:  [incr Tcl] itclpython
 Where: http://sourceforge.net/project/showfiles.php?group_id=13244&release_id=39973
 Description: Extension permitting you to host python interpreters from
        itcl.  Supports UNICODE return into Tcl and standard channel
        Currently at version 1.0 .
 Updated: 09/2001
 Contact: mailto:[email protected]

Typcl is a python extension which embeds Tcl in Python. But it's a weird one... it's built with Critcl. Part of critlib, see [2]. -jcw

You can also use the classical Tkinter package in Python to get a Tcl interpreter. On my computer Python 2.3 provides Tcl 8.4.3, quite up-to-date. [JM. Philippe]

VK Tkinter works other way round: it uses Tcl and, with a help of Python wrapper classes, brings Tk GUI via Tcl, and it also equipped with Tix. pure-Tcl is possible within Tkinter, but widgets newly created in Tcl will not be interchangeable with Python+Tk widgets.

Any chance of updating the INSTALL file so that the first instruction isn't "After compiling the Python code..."? That's BLOODY USELESS for anyone unfamiliar with the workings of Python. INSTALL files should contain STEP BY STEP INSTRUCTIONS, with NO AMBIGUITY! Googling how to do this has not gotten me any further either, as results suggest that this operation is ambiguous, due to different objectives. I've already wasted an hour with this, not happy. -meh