[pyar] algo esta muy roto en el urllib2 de ubuntu

Sebastian Bassi sebastian.bassi en globant.com
Vie Jul 27 14:31:49 ART 2012


On Fri, Jul 27, 2012 at 2:26 PM, Horacio Duran <horacio.duran en gmail.com> wrote:
> In [10]: from urllib2.urlparse import urljoin
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> /home/perrito/Develop/machinalis/<ipython-input-10-8bdc0cfcae0f> in <module>()
> ----> 1 from urllib2.urlparse import urljoin
>
> ImportError: No module named urlparse


Me pasa lo mismo, al menos es posible acceder a la fn:


>>> urllib2.urlparse.urljoin("http://www.test.com","hola.py")
'http://www.test.com/hola.py'



More information about the pyar mailing list