win32com parameters

Alberto Rodriguez [FoxPress] x at x.com
Sun Oct 28 06:45:37 EST 2001


HI:

I'm working with win32com and run fine to me when i ask a remote method
without parameters
but not with parameters. I have this error:

Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
TypeError: object of type 'int' is not callable

the code is:

import win32com.client
ox = win32com.client.Dispatch("proy1.miclase")
oRec = ox.primero('asfd')

The COM objetct is writed in Visual Foxpro and run fine from
Visual FoxPro or Visual Basic

any help?

TIA





More information about the Python-list mailing list