ANNOUNCE: tclpython-2.0
Jean-Luc Fontaine
jfontain at free.fr
Sun Mar 11 14:39:43 EST 2001
### CHANGES ###
--- version 2.0 ---
allow multiple Python interpreters
no longer requires the Python print command to pass data to the Tcl
interpreter
embedded Python interpreters can now send data to standard output or
error (useful for debuging, using the print function, for example)
successfully tested against the Python thread library
added tclpython2 rpm for Redhat python2 compatibility
includes 1 line addition patch to the Python sources
### README ###
tclpython version 2.0: a Python package for Tcl
This package allows the execution of Python code from a Tcl
interpreter, as in:
package require tclpython
# or: package require tclpython2
set interpreter [python::interp new]
$interpreter eval {print("Hello World")}
python::interp delete $interpreter
You can actually create several Python interpreters this way, if the
tclpython package was linked against a Python library compiled with
threads support, otherwise only 1 Python interpreter can exist at a
time.
Use the tclpython2 if you are using Python 2.0 or above.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
###
you may find it now at my homepage:
http://jfontain.free.fr/tclpython-2.0.tar.gz
http://jfontain.free.fr/tclpython-2.0-1.i386.rpm
http://jfontain.free.fr/tclpython-2.0-1.spec
http://jfontain.free.fr/tclpython2-2.0-1.i386.rpm
http://jfontain.free.fr/tclpython2-2.0-1.spec
http://jfontain.free.fr/tclpython.htm
Enjoy and please let me know what you think.
--
Jean-Luc Fontaine mailto:jfontain at free.fr http://jfontain.free.fr/
More information about the Python-list
mailing list