Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34122

Re: Help accessing COM .dll from Python

Date 2012-12-01 14:01 +0100
From Albert Dengg <albert@fsfe.org>
Subject Re: Help accessing COM .dll from Python
References <50B9FC7D.2010403@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.401.1354367361.29569.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Dec 01, 2012 at 12:47:57PM +0000, Steve Simmons wrote:
> Gunther - Sorry about that, hoping this response comes through as
> plain text.
> 
> Chris - Thanks for the translation and the response.  Unfortunately,
> I don't speak 'C', and I think the learning curve for Python + COM
> should be slightly less steep.
i've had some some expirience using COM from python with pywin32, which
works reasonably well if your interfaces is documented.

as for examples beeing excel centric: it does not really matter, you
just have to look the real interface you want to use in the
documentation of your libary.

there are however some pitfalls, espesially with arguments passed by
reference: there not the parameter will be modified but you will have a
tuple as a return value.

albert

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Help accessing COM .dll from Python Albert Dengg <albert@fsfe.org> - 2012-12-01 14:01 +0100

csiph-web