Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 知道将 Python 与 Tcl 接口的任何创造性方法吗?
在 python 中,我需要将一些值作为输入放入 TCL 脚本中,让它运行,然后使用它的输出。我该怎么做?
谢谢
您可以使用subprocess Python 模块来完成。