报错啦,怎么解决呢?老师
貌似是编码问题,我按照你说的加入了# -*- coding: UTF-8 -*-,和return open(r'1.html','r',encoding='utf-8').read(),也报错
at / 'utf8' codec can't decode byte 0xb6 in position 9: invalid start byte Python D:\Program Files\python27\lib\encodings\utf_8.py in decode, line 15 Web GET http://127.0.0.1:8080/