SyntaxFix
Write A Post
Hire A Developer
Questions
I'm not familiar with python 3 yet, but it seems like urllib.request.urlopen().read() returns a byte object rather than string.
urllib.request.urlopen().read()
byte
You might try to feed it into a StringIO object, or even do a str(response).
StringIO
str(response)