ANNOUNCE: tclpython-1.0

Chang LI changl at neatware.com
Fri Feb 23 17:11:52 CET 2001


How could you call a function in Python or Perl from Tcl?
How to use the library in these languages?
I do not think it is very useful to write Python program
inside the Tcl.  However it is useful to use the Python
or Perl library.

Chang

Jean-Luc Fontaine wrote in message <3A958C9A.130C7838 at free.fr>...
>This is the first release: please try it.
>Comments and bug reports are obviously welcomed...
>
>
>### README ###
>
>tclpython version 1.0: a Python package for Tcl
>
>This package allows the execution of Python code from a Tcl
>interpreter, as in:
>
>
>    package require tclpython
>    set interpreter [python::interp new]
>    $interpreter eval {x = 3/2.0}
>    set result [$interpreter eval {print x}]
>    puts $result
>
>
>Sending data from the Python interpreter to the Tcl interpreter
>requires the print Python command. This will hopefully no longer be
>required in future versions.
>
>
>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-1.0.tar.gz
>http://jfontain.free.fr/tclpython-1.0-1.i386.rpm
>http://jfontain.free.fr/tclpython-1.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