Gregor Burger uibk.ac.at> writes:
> Maybe you can point me to the posts. I found you questions
> but not theanswer including the solution.
The only solution I know is right below.
>> The only viable solution I found is to *compile* the script first before
>> executing it. If I do this globa
On Fri, Apr 3, 2009 at 4:40 PM, Gennadiy Rozental wrote:
> Gregor Burger uibk.ac.at> writes:
>
> > is it possible to use boost.python to define classes
> > in a script (like in the one below), register the defined
> > classes and later on create instances of the class?
>
> Yes
thank god! ;-)
>
Gregor Burger uibk.ac.at> writes:
> is it possible to use boost.python to define classes
> in a script (like in the one below), register the defined
> classes and later on create instances of the class?
Yes
> Is it possible to provide the same globals and locals to call_method
> so that Flow a
hi all,
is it possible to use boost.python to define classes
in a script (like in the one below), register the defined
classes and later on create instances of the class?
from cd3 import *
class MyNode(Node):
def init(self, start, stop, dt):
in_flow = Flow()