Load three different modules which have the same name

abcd codecraig at gmail.com
Tue Mar 20 06:40:53 EDT 2007


> Blerch! Why not just call the modules by the right names in the first
> place? Then each will have its own sys.modules entry for a start ...
>
> regards
>   Steve

what do i need to do?  also, is there a way I can load each one as I
have but each one have its own unique entry in sys.modules?  For
example i could load Person from Person (in alpha) as, "Person_Alpha"
or something like that in sys.modules?  not sure how I might do that.

Thanks!




More information about the Python-list mailing list