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

Horacio Duran horacio.duran en gmail.com
Vie Jul 27 14:26:08 ART 2012


In [7]: import urllib2

In [8]: urllib2.urlparse
Out[8]: <module 'urlparse' from '/usr/lib/python2.7/urlparse.pyc'>

In [9]: urllib2.urlparse.urljoin
Out[9]: <function urlparse.urljoin>

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



More information about the pyar mailing list