Open xiaojp opened 5 years ago
file_object = open('filter/filter_domain.txt')
file_object = open('filter/filter_domain.txt','r',encoding="utf-8")
file_object = open('filter/filter_title.txt')
file_handle = open(filepath, 'a')
file_handle = open(filepath, 'a',encoding="utf-8")
谢谢老哥
file_object = open('filter/filter_domain.txt')
修改为file_object = open('filter/filter_domain.txt','r',encoding="utf-8")
file_object = open('filter/filter_title.txt')
修改为file_object = open('filter/filter_title.txt')
2.core/outdata.pyfile_handle = open(filepath, 'a')
修改为file_handle = open(filepath, 'a',encoding="utf-8")