imputil

Magnus Heino magnus.heino at rivermen.se
Wed Nov 8 02:43:05 EST 2000


> this might work:

Almost. It seems as if the descriptions that I have found about it, 
including yours below, and the version of imputil distributed with 2.0 
differ a bit.

> 3. call the "install" method to add it to the import chain:
> 
>         >>> importer.install()
> 

This is where I had to do it different, and where imputil seems to have 
changed.

>>> imputil.ImportManager().install()
>>> sys.path.insert(0, ServiceImporter(self._connection.root()))
>>> sys.path.insert(0, imputil.BuiltinImporter())

/Magnus





More information about the Python-list mailing list