Typcl is a bit weird... It's a an extension to use Tcl from Python.
It doesn't really require CriTcl and could have been done in standard C.
This code demonstrates using Tcl as shared library, and hooking into it
at run time (Tcl's stubs architecture makes this delightfully simple).
Furthermore, Typcl avoids string conversions where possible (both ways).
我希望你已经准备好了。标准Python
在Re-to-comment中编辑:Python的tcl解释器不知道其他已安装的tcl组件。您可以通过向python实际使用的tcl中添加通常的扩展来解决这个问题。以下是一些细节的链接
这是可以做到的。
http://wiki.tcl.tk/13312
具体看typcl扩展。
我自己也没用过,不过斯威格可能会帮你:
http://www.swig.org/Doc1.1/HTML/Tcl.html
相关问题 更多 >
编程相关推荐