On 08/24/2011 10:07 PM, Josh Stratton wrote:
I'm very new to boost python and trying to figure out how to properly
get a list of strings from a static method in my main namespace. I'm
not sure if I need to extract the list from the object or if it's
already a list.
boost::python::object list =
I'm very new to boost python and trying to figure out how to properly
get a list of strings from a static method in my main namespace. I'm
not sure if I need to extract the list from the object or if it's
already a list.
boost::python::object list = exec("Foo.extensions()",
_pyMainNamespace); //