We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
网易新闻爬取项目输出的txt文档出现乱码, 当15,16行做出如下修改后,输出的txt文档正常了。
with open(path, "w+") as fp: for s in slist: print(s[0], s[1]) fp.write("%s\t\t%s\n\n" %(s[0],s[1]))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
网易新闻爬取项目输出的txt文档出现乱码,
当15,16行做出如下修改后,输出的txt文档正常了。
The text was updated successfully, but these errors were encountered: