Python as a substitute of VBA?

Gillou nospam at bigfoot.com
Fri Dec 20 17:44:36 EST 2002


"Jordi" <jordi_yc at lycos.es> a écrit dans le message de news:
mailman.1040413953.7189.python-list at python.org...
> Cameron Laird wrote:
>
> >In article <mailman.1040396247.28545.python-list at python.org>,
> >Jordi  <jordi_yc at lycos.es> wrote:
> >
> >
> ><snip>
> >
> >
 >
> That is exactly the idea, but how do I access or use the code written in
> python? The first stage, imo, would be to refactor the current classes
> written in VBA, but it seems that in order to use python classes within
> Access, I should according to the win32com:
>
> * Check for Unicode concessions
> * Annotate the class with win32com specific attributes
> * Resgistering and assigning a CLSID for the object
>
> Is there a better way to accomplish this? Otherwise, this scenario seems
> overkilling.
>
> Initially, I was looking into a local solution, but it is possible to
> use Zope as a COM Server? Am I out of line?
>
> Any comments?

You should forget all about COM when in a Zope context.
Perhaps you should start learning what is Zope (can't be reasonably used as
a COM server) and look for a Zope DA for MS SQL*Server or ODBC.

--Gilles






More information about the Python-list mailing list