import hook

Rune Strand rune.strand at gmail.com
Sun Jun 11 11:21:22 EDT 2006


Jeremy Sanders wrote:
> Hi - Is it possible to override the import process so that if in my program
> I do
(...)
>
> Any ideas?


Why not handle the foo.bar/version string separately and just append
the resulting path to sys.path?




More information about the Python-list mailing list