fout.write("</tr>")报错,看起来不应该有问题啊。。。
Traceback (most recent call last):
File "/Users/linxinyu/Documents/workspace/imooc/baike_spider/spider_main.py", line 4, in <module>
from baike_spider import url_manager, html_downloader, html_parser, html_outputer
File "/Users/linxinyu/Documents/workspace/imooc/baike_spider/html_outputer.py", line 27
fout.write("</tr>")
^
SyntaxError: invalid syntax