Reaching to a .NET assembly from traditional ("non managed") code such as
CPython is not easy.  Have you looked at IronPython?  It is true Python,
but is an implementation written in .NET, so it interacts with .NET
assemblies much more easily.
(Unfortunately, it has no ability to talk to Pywin32 functions.)

There is also a Python .NET project to call .NET routines from CPython --
but I don't personally know anything about it.
--


On Thu, Jul 18, 2013 at 11:14 AM, Tim Roberts <t...@probo.com> wrote:

> Aishwarya Sivakumar wrote:
> >  I tried ["true"], [["true"]], and some more combinations of tuples but
> everything gave type mismatch error.
>
> Unfortunately, in COM there are several ways to declare an array of
> strings, and not all of those ways are easy to generate in Python. Are
> you able to run makepy on this class?  If so, you could look at the
> generated Python wrapper and tells us the type codes it discovered.
> That might help some of the Python COM experts come up with a recipe.
>
> --
> Tim Roberts, t...@probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to