Embedding Python in a C++ Project



In this episode, Robert is joined by Steve Dower, who walks through a sample project that demonstrates scripting a C++ application with Python using CPython, PyBind11 and Visual Studio 2017. He shows how you can extend a C++ application with Python scripts, modify code without having to recompile, do mixed Python/C++ debugging and enable IntelliSense support by adding hints.

For more information, see the Python team’s blog: http://blogs.msdn.microsoft.com/pythonengineering/2018/06/14/embedding-python-in-a-cpp-project-with-visual-studio/

19 thoughts on “Embedding Python in a C++ Project

  1. Very cool to add Python support in Visual Studio. This video doesn't have actual guidance to embed the Python engine in your favorite C++ program and I had to find out the hard way.

Leave a Reply

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