Using remote source code

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Mar 25 13:09:25 EDT 2007


En Sun, 25 Mar 2007 04:06:21 -0300, Shane Geiger <sgeiger at ncee.net>  
escribió:

> I see that you aren't using ihooks.  Below is an example I found that
> uses ihooks.  I think it would be worth comparing and contrasting both
> approaches (though I am not familar enough with this aspect of Python to
> do so).  IIRC, this code addresses some path related issues of other
> import-from-file methods.

ihooks is rather old and undocumented except for a comment saying that it  
"may become obsolete".
PEP 302 sets the recomended way now, AFAIK.

-- 
Gabriel Genellina




More information about the Python-list mailing list