[C++-sig] create a python object from scratch in boost.python?

Gary Oberbrunner garyo at genarts.com
Tue Jan 21 23:24:15 CET 2014



----- Original Message -----
> From: "Stefan Seefeld" <stefan at seefeld.name>

> Have a look at the attached code; I don't think that counts as
> heavy-weight. In particular, trying to do the same without  embedding
> a
> little "script" would be just more cumbersome, if it worked at all.

Whoa, that is cool!  I had no idea boost python could do this.  Thanks, Stefan!

(It's like "python-ception": python calls C++ which calls python...)

-- 
Gary Oberbrunner


More information about the Cplusplus-sig mailing list