importing two modules with the same name

Mike Meyer mwm at mired.org
Sat Mar 19 13:59:14 EST 2005


Francisco Borges <borges at let.rug.nl> writes:

> I could simply copy optparse's code and hack it or I could simply import
> it and overload some methods, which is what I think would be a cleaner
> solution.

So why aren't you willing to give your optparse module a different name?

   <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list