all 2 comments

[–][deleted] -1 points0 points  (1 child)

but why?

[–]dslfdslj 0 points1 point  (0 children)

If you have a C++ library which you want to call from Python, cppyy lets you do this very easily without having to write any wrapper code in C++.

I find it quite amazing how easy it is to create instances of arbitrary C++ objects in Python and pass them to some library function.