How to insert my own module in front of site eggs?

alex23 wuwei23 at gmail.com
Thu Nov 17 21:58:46 EST 2011


On Nov 18, 11:36 am, Roy Smith <r... at panix.com> wrote:
> What if the first import of a module is happening inside some code you
> don't have access to?

No import will happen until you import something. As long as you
change sys.path before you do, all subsequent imports will use that
path.




More information about the Python-list mailing list