win32com:MakePy -- Early Binding without the size jitters?

Alex Martelli aleaxit at yahoo.com
Fri Mar 9 16:09:23 CET 2001


"Paul Moore" <paul.moore at uk.origin-it.com> wrote in message
news:guKoOvyz2tkgZ9zg6THcL9zanB2o at 4ax.com...
    [snip]
> >Yes: study the sources and look at the bForDemand
> >flag (introduced reasonably recently).  That flag
> >ensures that only the wrappers you're actually using
> >are generated (it uses packages rather than modules
> >to house the wrappers).
>
> More specifically, run makepy -d to generate "on demand" support. Support
for
> the basic object is generated, but then sub-object support is built as
> necessary.
>
> This is quite nice, and I didn't know it was available. Thanks for the
> pointer, Alex!

Thank *YOU* for mentioning the -d switch, which I had
completely omitted...!!!


Alex






More information about the Python-list mailing list