Re: Injecting a C side object into the local dict

2005-02-11 Thread python
Take a look at Pyrex. More at /Jean Brouwers Jamie R. Parent wrote: > Hello, > > How do you go about taking a variable which was declared in C and pass > that through to

Injecting a C side object into the local dict

2005-02-11 Thread Jamie R. Parent
Hello, How do you go about taking a variable which was declared in C and pass that through to a Python script? I have tried doing this by adding a simple string which is a PyObject from C into the local dictionary and retrieving it from script via a locals()["myCvar"] print statement. This however