Matias Surdi <[EMAIL PROTECTED]> writes:

> Suppose I've a module named "urllib" and from it I need to import
> the urllib module from the python standart library.

What you want is the "absolute import" behaviour, described in PEP 328
<URL:http://www.python.org/peps/pep-0328.html> and implemented in
Python 2.5 <URL:http://docs.python.org/whatsnew/pep-328.html>.

-- 
 \      "The way to build large Python applications is to componentize |
  `\          and loosely-couple the hell out of everything."  -- Aahz |
_o__)                                                                  |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to