So, I\'m messing around with urllib.request in Python 3 and am wondering how to write the result of getting an internet file to a file on the local machine. I tried
urllib.request
change
f.write(g)
to
f.write(g.read())