爬取搜狗网页存储不了
with open("sogo.html",''w",encodeing="utf-8") as fp
fp.write(page_text)
最后显示
typeerror."encodeing"is an invalid keyword atguement for "open()"
爬取搜狗网页存储不了
with open("sogo.html",''w",encodeing="utf-8") as fp
fp.write(page_text)
最后显示
typeerror."encodeing"is an invalid keyword atguement for "open()"
收起
报告相同问题?