Problem with VB-COM-Python arg passing/value returning
Mark Hammond
mhammond at skippinet.com.au
Thu Mar 7 19:38:26 EST 2002
Sue Giller wrote:
> I am hoping that someone here can help me with the following
> problem.
...
> public property get ByValArg(byval arg1) as variant
> ByValArg = 1
> end property
...
> info = idobj.ByValArg("abc") # raises python error:
> #Type Error: list () argument
> must be a sequence
> print `info`
I would be interested to see the complete traceback, as I can't see
where the list() call comes from.
However, the problem is probably that ByValArg() is a *property*. I
would expect it to still work though - so can you post the entire traceback?
Thanks,
Mark.
More information about the Python-list
mailing list