"python exe" and "py plugins"

marco marc.lentz at ctrceal.caisse-epargne.fr
Wed Nov 19 10:47:12 CET 2003


great ! it works with dynamic import ( __import__() )!
it's a lot better than an execfile ...

"Marc Boeren" <M.Boeren at guidance.nl> a écrit dans le message de news:
mailman.826.1069158322.702.python-list at python.org...
>
> > and it works WITHOUT THE PYTHON RUNTIME INSTALLED ...
> > sure that this script can't import lib which are not in the exe ;-)
>
> If I remember correctly py2exe provides the python23.dll, so there's your
> runtime... meaning that you can probably import whatever library you wish
in
> your plugin.
> You can probably also dynamically import your plugin instead of using
> execfile.
>
> Cheerio, Marc.
>






More information about the Python-list mailing list