MS COM early and late binding
Simon Brunning
simon at brunningonline.net
Wed Apr 28 05:08:18 EDT 2004
"Olaf Meding" <OlafMeding at noSpam.compuserve.com> wrote in message news:<408ed8e5$1_1 at newspeer2.tds.net>...
> What you suggest might work, but does not look to elegant. Can anyone else
> perhaps suggest a more elegant solution? Thanks.
Not elegant? This is COM, you know!
Anyway, I do this:
excel = win32com.client.gencache.EnsureDispatch('Excel.Application')
Then I know I'm using early binding.
Cheers,
Simon B.
More information about the Python-list
mailing list