【发布时间】:2014-06-17 19:14:29
【问题描述】:
我有一个使用 Visual Studio 2010 编译的 C++ 应用程序,它需要能够调用几个 Python 脚本并读取它们的输出,但我不能指望在计算机上安装 Python。 PythonQt 似乎是最受欢迎的简单选项,但我看到的 every 帖子的日期为 2009 年或更早。 The main tutorial 甚至还在上面说 TrollTech。
这让我觉得这种方法/课程已经过时或者可能已被弃用。 boost::Python 是现在要走的路,还是 PythonQt 仍然可以解决问题,还是我应该像其他人一样只是 embed Python the normal C++ way?
【问题讨论】: