Re: importing module conflict

2008-01-10 Thread Matias Surdi
Ben Finney escribió: > 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 > http://www.python.org/peps/pep

Re: importing module conflict

2008-01-10 Thread Ben Finney
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 http://www.python.org/peps/pep-0328.html> and implemented in Py

Re: importing module conflict

2008-01-10 Thread Bruno Desthuilliers
Matias Surdi a écrit : > Hi, > > Suppose I've a module named "urllib" and from it I need to import the > urllib module from the python standart library. > > ¿how can I do this? > > The problem I found is that when I do: > > > import urrlib > > The imported module is itself, and not the one f

importing module conflict

2008-01-10 Thread Matias Surdi
Hi, Suppose I've a module named "urllib" and from it I need to import the urllib module from the python standart library. ¿how can I do this? The problem I found is that when I do: import urrlib The imported module is itself, and not the one from the stdlib. Any idea? Thanks a lot. -- ht