when i: "fun(**kwargs)"
I get following runtime error:
TypeError: No to_python (by-value) converter found for C++ type:
boost::python::detail::kwds_proxy
thx again
meiko
> Message: 1
> Date: Thu, 3 Dec 2009 13:11:41 +0100
> From: meiko rachimow
> To: cplusplus-sig@py
Hi
How can I call a function defined in a python module from c++,
if I have to give **kwargs parameter...
example.py:
def hello(**kwargs):
for key, value in kwargs.items():
print key, " - ", value
c++:
using namespace boost::python;
object fun = import("example").attr("hello")
fu