python中调用tcl是通过加载TkInter来实现的。
from Tkinter import Tcl
tcl = Tcl()
tcl.eval('source tu.tcl')
tcl.eval('writelog hihi')
原文出自:http://blog.csdn.net/newyf_cun/article/details/8004170
python中调用tcl是通过加载TkInter来实现的。
from Tkinter import Tcl
tcl = Tcl()
tcl.eval('source tu.tcl')
tcl.eval('writelog hihi')
原文出自:http://blog.csdn.net/newyf_cun/article/details/8004170
相关文章: