Python 使用C++;
我找不到好的消息来源。我只想要那种风格的例子 main.cppPython 使用C++;,python,c++,binding,Python,C++,Binding,我找不到好的消息来源。我只想要那种风格的例子 main.cpp intmain() { //在example.py中调用hello函数 } 示例.py def hello(): 打印(“你好世界”) 我该怎么做 谢谢 从这里开始:谢谢!我来检查一下。
intmain()
{
//在example.py中调用hello函数
}
示例.py
def hello():
打印(“你好世界”)
我该怎么做
谢谢 从这里开始:谢谢!我来检查一下。