[Tutor] temporarily modifying sys.path

Tim Johnson tim at johnsons-web.com
Mon Nov 29 03:27:19 CET 2010


* Alan Gauld <alan.gauld at btinternet.com> [101128 15:17]:
>
> "Tim Johnson" <tim at johnsons-web.com> wrote
>
>>> Just curious, but could the imp module help you? imp.find_module
>
>>  I'll be darned. I never even heard of that module, but I just
>>  did an import and looked at the docs. I *will* give that a try.
>
> I think its new in Python v3...
 Hello Alan:
 Actually, I am using 2.6.5 on linux ubuntu 10.04 and 
 imp is provided.
> Compare my recent post about reload() - now a part of imp...
  will do.
  thanks
-- 
Tim 
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com


More information about the Tutor mailing list