If I have an absolute path to a file (i.e. '/home/roy/foo.py'), is there 
a way to import that as a module WITHOUT modifying sys.path?  I'm using 
Python 2.6.

I've read PEP 328, and don't really understand how the absolute imports 
it's talking about are supposed to work.  Should I be using 
imp.load_source()?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to