This is my third python project, and I\'ve received an error message: \'module object\' is not callable.
I know that this means I\'m referencing a varia
In python 3, the urllib.request object is a module. You need to call objects contained in this module. This is an important change from Python 2, if you are using example code you need to take that into account.
For example, creating the Request object and the opener:
request = urllib.request.Request(url, headers=req_headers)
opener = urllib.request.build_opener()
response = opener.open(request)
Read the documentation carefully.