pybind11在Windows下的使用

  Pybind11算是目前最方便的Python調用C++的工具了, 介紹一下在vs2019上寫Python的擴展的HelloWorld   1. 去下載pybind11  https://github.com/pybind/pybind11/releases/tag/v2.3.0 這個庫只要include就可以了   2. 用vs新建一個空項目       2.1 調整輸出類型爲dll, 調整輸
相關文章
相關標籤/搜索