Print works differently in Python 3
Try changing
print "Warning: Url load error " + str(e) + " for url " + url
to
print('Warning: Url load error {} for url {}'.format(e, url))
0
solved urllib2.urlopen – error opening url [closed]
Print works differently in Python 3
Try changing
print "Warning: Url load error " + str(e) + " for url " + url
to
print('Warning: Url load error {} for url {}'.format(e, url))
0
solved urllib2.urlopen – error opening url [closed]