4 ms·
If I understand right, the equivalent in python wouldn't be r = urllib.request.urlopen(url).read() d = literal_eval(r.decode()) But rather: r = u
by anang 5y ago
If I understand right, the equivalent in python wouldn't be
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?