为什么老报错呢?
File "E:/python/imooc/baike_spider/spider_main.py", line 44, in <module>
obj_spider.craw(root_url)
File "E:/python/imooc/baike_spider/spider_main.py", line 37, in craw
self.output.output_html()
File "E:\python\imooc\baike_spider\html_output.py", line 14, in output_html
fout = open('output.html', 'w',encoding = 'utf-8')
TypeError: 'encoding' is an invalid keyword argument for this function
这都是什么问题?