[Tutor] temporarily modifying sys.path

Alan Gauld alan.gauld at btinternet.com
Mon Nov 29 01:05:08 CET 2010


"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...

Compare my recent post about reload() - now a part of imp...

Alan G.




More information about the Tutor mailing list