Chinese Yellow Pages | Classifieds | Knowledge | Tax | IME

The pybind11 make python calling any c++ function easier

https://pybind11.readthedocs.io/en/stable/basics.html

 

Also we can invoke python script from c++ as well:

https://pybind11.readthedocs.io/en/stable/advanced/smart_ptrs.html

 

Other alternatives:

boost python

https://www.boost.org/doc/libs/1_84_0/libs/python/doc/html/index.html

 

Leave a Reply

Your email address will not be published. Required fields are marked *