In article <[email protected]>,
 Terry Reedy <[email protected]> wrote:

> 
> Import from another file in /home/roy. (since '.' is part of sys.path).
> Or put module or package of modules in Lib/site-packages.
> But why the horror of modifying sys.path? It is normal proceedure.

Not quite horror, but since I already know the absolute path to the 
file, it seems silly to change the search path just so import can use it 
to search.  Also, if I change the search path, I risk other things 
finding my module by mistake (if there's a module name collision).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to