The Perl is just passing an interpreted string.
Couldn't you just do the same in Python?
N="3"
ml.Execute("M="+N)
-or-
ml.Execute("M=magic("+N+")")
depending on whether magic() is needed.
or alternately if you must have integer values in your python var.
N=3
cmd="M=%d" % N
ml.Execute(cmd)
o
> I got hold of pyTTS-3.0.win32-py2.5.exe, but it seems to be like last
> available
> version off the sourceforge website - might be able to double check that one
> when at home, since this machine is a bit slow/unstable when it comes to
> certain types of web browsing, but anyway - was just wonde
On 25/05/2011 8:40 PM, Jacob Kruger wrote:
I got hold of pyTTS-3.0.win32-py2.5.exe, but it seems to be like last
available version off the sourceforge website - might be able to
double check that one when at home, since this machine is a bit
slow/unstable when it comes to certain types of web bro
I'm afraid I can't really help, but:
On 25/05/2011 8:11 PM, Tobias Oberstein wrote:
How can I call on the interface not via IDispatch, but using vtable-based
direct call?
You can't I'm afraid.
However, your "casting" code might be suspect:
# Need to "cast" the raw PyIDispatch object to th
I got hold of pyTTS-3.0.win32-py2.5.exe, but it seems to be like last available
version off the sourceforge website - might be able to double check that one
when at home, since this machine is a bit slow/unstable when it comes to
certain types of web browsing, but anyway - was just wondering if
> Tim Roberts wrote:
> > ...
> > and get a generic COM exception when the RTD server tries to notify
> > Excel of data changes (from the trace collector):
> > ...
> > The COM Error is: "generic COM exception 0x80020009"
> >
> > The callpath that leads to the exception is:
> >
> >
> > excelRTDServer