I would like to use urlparse
. But python3.4.1 is not finding the module.
I do import urlparse
, but it gives me this error
importError: no 'module' named ulrparse
I would like to use urlparse
. But python3.4.1 is not finding the module.
I do import urlparse
, but it gives me this error
importError: no 'module' named ulrparse
As noted in
urlparse
's documentation:I.e., just use
urllib.parse
instead:The urlparse in Python 2.7.11 was renamed to urllib.parse in Python 3. So, if you have a code such
from urlparse import urljoin
, I suggest you change it tofrom urllib.parse import urljoin