随笔分类 - python c++代码 pybind11
python调用c++代码,借助pybind11
摘要:[TOC] # python做代理层,连接c++和QT python调用c代码,方式很多,本章借助于pybind11 ## 准备工作 1. 将c++代码编译成动态库.so库或.pyd 2. python使用pip工具,直接下载动态库到解释器环境 3. python代码中直接import C 封装的库
阅读全文