(no title)
anang | 4 years ago
r = urllib.request.urlopen(url).read()
d = literal_eval(r.decode())
But rather: r = urllib.request.urlopen(url).read()
logging.info(r.content)
Wouldn't that be pretty insane if the those two code fragments were functionally equivalent?
No comments yet.