I am trying to display a webpage, but since it does not view the object as a string, it does not properly display newlines (it displays \n
). How can I make a result a string properly as this does not seem to be working. Thanks!
result = urllib.request.urlopen(requesturl).read()
return str(result)