En Mon, 05 Feb 2007 16:43:54 -0300, Rodolfo S. Carvalho  
<[EMAIL PROTECTED]> escribió:

> My question is: can I code a method __getattr__() to change the behavior  
> of
> the 'import' command?

You can play with __import__, imp and ihooks, but could you explain better  
what you need?
Perhaps you don't ever need to change how import works.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to