--> -->
 
 
UnicodeEncodeError
Python 3.6.9: /usr/bin/python3
Fri Dec 2 15:53:18 2022

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/cryan/secure_html/daily/newcategory.py in <module>()
    187 webpage = "".join([s for s in webpage.splitlines(True) if s.strip("\r\n")])
    188 
    189 
=>  190 print(webpage)
    191 
builtin print = <built-in function print>, webpage = '<!doctype html>\n<html lang="en">\n <head>\n <m... </div>\n </div>\n</main>\n \n </body>\n</html>\n'

UnicodeEncodeError: 'ascii' codec can't encode characters in position 9448-9450: ordinal not in range(128)
      args = ('ascii', '<!doctype html>\n<html lang="en">\n <head>\n <m... </div>\n </div>\n</main>\n \n </body>\n</html>\n', 9448, 9451, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 9451
      object = '<!doctype html>\n<html lang="en">\n <head>\n <m... </div>\n </div>\n</main>\n \n </body>\n</html>\n'
      reason = 'ordinal not in range(128)'
      start = 9448
      with_traceback = <built-in method with_traceback of UnicodeEncodeError object>