importing module conflict
Matias Surdi
matiassurdi at gmail.com
Thu Jan 10 10:11:42 EST 2008
Ben Finney escribió:
> Matias Surdi <matiassurdi at gmail.com> 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>.
>
Thanks a lot.
That was exactly what I was looking for.Excellent.
More information about the Python-list
mailing list