Roy Smith <r...@panix.com> writes:

> But, you're talking about installers.  I'm talking about if I've already 
> got something installed, how do I force one particular python process to 
> pull in a local copy of a module in preference to the installed one?
>
> In some cases, I own the machine and can make changes to /usr/local/lib 
> if I want to.  But what about on a shared machine?  I don't want to (or 
> perhaps can't) play with what's in /usr/local/lib just to make my stuff 
> load first.

Maybe I'm missing something - but if I want to do this I just mess about
with sys.path at the top of my python script/program. Always seems to
work... is there a situation in which it doesn't?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to