Re: Loading module via full path

2006-08-22 Thread Andre Poenitz
Gary Herron <[EMAIL PROTECTED]> wrote: > Andre Poenitz wrote: >> Hi all. >> >> Is there a way to load a module given a full path to the module >> without extending sys.path first? > > The standard module named "imp" can help you with this. Thank you. I got stuck on http://docs.python.org/api/impor

Re: Loading module via full path

2006-08-21 Thread Andre Poenitz
Andre Poenitz <[EMAIL PROTECTED]> wrote: > Hi all. > > Is there a way to load a module given a full path to the module > without extending sys.path first? Ok. imp.find_module() and imp.load_module() seem to do what I need. Andre' -- http://mail.python.org/mailman/listinfo/python-list

Re: Loading module via full path

2006-08-21 Thread Gary Herron
Andre Poenitz wrote: > Hi all. > > Is there a way to load a module given a full path to the module > without extending sys.path first? > > Andre' > > The standard module named "imp" can help you with this. Gary Herron -- http://mail.python.org/mailman/listinfo/python-list