Bill Pursell <[EMAIL PROTECTED]> wrote:
> Alex Martelli wrote:
> >
> > I wrote the following file za.c:
>
>
>
> > and proceeded to compile and execute as follows: [[Note: it does not
> > matter that I'm using 2.5, the code is just as fine with previous
> > versions -- it just happens that 2.5 i
Alex Martelli wrote:
>
> I wrote the following file za.c:
> and proceeded to compile and execute as follows: [[Note: it does not
> matter that I'm using 2.5, the code is just as fine with previous
> versions -- it just happens that 2.5 is what I'm using right now in
> order to help out with 2.5
wardm <[EMAIL PROTECTED]> wrote:
> Thanks again for your help, I agree, it seems I need to read a good book on
> Python.
>
> One last question, will Python allow me to add new items to
> InterfaceModule.VarDictionary
> from the Python functions I call ?
Yes, no problem with that.
Alex
--
htt
Thanks again for your help, I agree, it seems I need to read a good book on
Python.
One last question, will Python allow me to add new items to
InterfaceModule.VarDictionary
from the Python functions I call ?
"Alex Martelli" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> wardm
wardm <[EMAIL PROTECTED]> wrote:
> Thanks Alex for your help, (and advice on focusing the point of my
> question).
>
> I was able to compile and run your example OK, but when I try to use the
> "VarDictionary" in the
> MyScriptModule.py code, I get an exception.
>
> I added the following code
Thanks Alex for your help, (and advice on focusing the point of my
question).
I was able to compile and run your example OK, but when I try to use the
"VarDictionary" in the
MyScriptModule.py code, I get an exception.
I added the following code to the C app just to add two entries to the
Dict
wardm <[EMAIL PROTECTED]> wrote:
> I have created a Dict object in a C++ App that calls (embedded) Python
> functions.
[[snip snip]]
> This python code throws an exception when it attempts to access the
> "VarDictionary".
> Does anyone know why this fails ?
It fails due to some code of yours t
I have created a Dict object in a C++ App that calls (embedded) Python
functions.
The Dict is to be used to pass variable data between the C++ App and the
python functions.
However I cannot get the Python functions to 'see' the Dict created in the
C++ App.
The C++ app creates the Dict using th