项目里需要在python下通过TCL解释器引用WindRiver的Tornado2.2安装目录下的wtxtcl.dll来实现对Tornado2.2 基于TCL的控制
python3.4代码如下:
import tkinter
tcl = tkinter.Tcl()
tcl.eval('load d:/applications/tornado2.2/host/x86-win32/bin/wtxtcl.dll wtxtcl')
然后就变成了这样:
但是在tclsh下工作是正常的:
tclsh的图中的wtxPath命令是为验证dll引用成功,因为wtxPath是定义在wtxtcl.dll中的命令
求大神帮助