Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'modified': 0.05; 'arguments': 0.07; 'parameter': 0.07; 'python': 0.09; 'curve': 0.09; 'reference:': 0.09; 'tuple': 0.09; 'subject:Help': 0.10; 'steve': 0.13; 'dec': 0.15; 'interfaces': 0.15; 'sat,': 0.15; 'slightly': 0.15; 'value.': 0.15; "'c',": 0.16; 'filename:fname piece:signature': 0.16; 'reasonably': 0.16; 'subject:accessing': 0.16; 'translation': 0.16; 'wrote:': 0.17; 'examples': 0.18; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'plain': 0.27; 'interface': 0.27; 'chris': 0.28; 'subject: .': 0.33; 'to:addr:python-list': 0.33; 'excel': 0.33; 'that,': 0.34; 'thanks': 0.34; 'text.': 0.35; 'there': 0.35; 'received:org': 0.36; 'really': 0.36; 'but': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'does': 0.37; 'passed': 0.37; 'subject:: ': 0.38; 'speak': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'your': 0.60; 'content- disposition:inline': 0.60; 'skip:u 10': 0.60; 'real': 0.61; 'response.': 0.67; 'hoping': 0.72; 'pitfalls,': 0.84; 'simmons': 0.84; 'albert': 0.91 X-Virus-Scanned: Debian amavisd-new at cavendish Date: Sat, 1 Dec 2012 14:01:49 +0100 From: Albert Dengg To: python-list@python.org Subject: Re: Help accessing COM .dll from Python References: <50B9FC7D.2010403@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IMjqdzrDRly81ofr" Content-Disposition: inline In-Reply-To: <50B9FC7D.2010403@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1354367361 news.xs4all.nl 6985 [2001:888:2000:d::a6]:36131 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34122 --IMjqdzrDRly81ofr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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 --IMjqdzrDRly81ofr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJQuf+6AAoJEMRlvrQ8EbM38NQQAKTlOY3/QHzGc3WOR8mMjbSu aPgOJEp1uyYYSU/bNTrSgS5e4WqXpW9aOEOrRCDzPJ8iR+fOiCx1yNgbFwTMC3WG n7JhOvuLJpPrzj+Kb5Qk/M+PZ2H4R/O7yT1Wmb7+tMNvdKiMMj3cNEkI24P4q204 dq1EFDVIeAFAAakblQt3ZAGe4K56CH3/Mn5RG3Qw2OE8jAKMn2HUCaWvljlYTKSI 8HIzvocYCD8I5h8Rt0cZarrtC8P+2e/jnE0zCMa7goXFhnUMHUGpJ3vHuZQkCyLg mAHT/jjzq2peoX1REE8W+gMVGIpEZSemmx//DvyAUO5Qc+eVy3bXw3vPzKnEOnZM 3OmRVB7wmnLwQ3Kbd2hRjYJxYju4yxaZJ0u7oSX36UIbw5h5eaTO8RAlzZaCjArK mzZq7vh4eXzZdcah21/VkM9zC1JWPaaafaG+2Mx2zS7zfoKa/FzaIEwnhqVZ8G8U 5Ltllf2zdsPcPLqiO+oRIQ4rsdsHCNEf1ayjeOUCcU15A4OhKjwNqMPh/ATCdlGb wV4LguPlJ8777OZ6E6TwAIFJjC51jA6VXoH1LQSqVtJmHdJuE13wVstBv0WXgRw+ z9nI9v3vsQ3JwJlflxwdjmW5RiugFep5YQa2MwbvFG1J6fnHZ7q5zb6+vTbQwN17 SQTTSv4WDe9WZbP6t1du =4j6r -----END PGP SIGNATURE----- --IMjqdzrDRly81ofr--