I got error as :
Traceback (most recent call last):
File "V:\Geocode.py", line 35, in <module>
html = urllib2.urlopen('
https://maps.googleapis.com/maps/api/geocode/json?address=121+Dartmouth+Street+Boston+MA&key=Mykey')
File "C:\Python27\lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 431, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 449, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 409, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1240, in https_open
context=self._context)
File "C:\Python27\lib\urllib2.py", line 1197, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>
I browsed through all the online discuss on this error, tried all kinds of solution worked out for other users. I still get the same error.