Playing with modules

John Cassidy jjcassidy at gmail.com
Wed Mar 15 11:21:48 CET 2006


Kent Johnson wrote:
> jjcassidy at gmail.com wrote:
>> But I was wondering whether I could fool or "backend" the normal import
>> mechanism. Even in Java, I can write my own class loader which can
>> quick compile Java snippets and load the anonymous byte code.
> 
> See http://www.python.org/doc/2.3/whatsnew/section-pep302.html
> 
> Kent

Thanks. That one helped. Just to get me started looking at 
test_importhooks.py in the dist.



More information about the Python-list mailing list