搜索结果
查询Tags标签: soure,共有 4条记录-
《错误记录——SQL上传时错误。错误描述TypeError: not all arguments converted during string formatting
本次错误2021年11月11日出现,出现在爬虫上传本地数据库中。错误无大问题。 首先是问题描述 shangchuan.sjk(title, url_use, time_use, synopsis, category, category_web, label, picture, alternative, picture_seqencing, web_seqencing, time_seqencing, hot_seqenci…
2021/11/13 2:41:25 人评论 次浏览 -
《错误记录——SQL上传时错误。错误描述TypeError: not all arguments converted during string formatting
本次错误2021年11月11日出现,出现在爬虫上传本地数据库中。错误无大问题。 首先是问题描述 shangchuan.sjk(title, url_use, time_use, synopsis, category, category_web, label, picture, alternative, picture_seqencing, web_seqencing, time_seqencing, hot_seqenci…
2021/11/13 2:41:25 人评论 次浏览 -
python通过关键字获取txt文件整行,并将结果进行排序,方便做参数对比
import os import math import redef get_mml_for_keyword(sourepath, keywordpath, IsSort=True):"""获取含有某个或某些关键字的行 如:“RNCID=XXX”sourepath:待处理的源数据keywordpath:过滤条件或方法(关键字)IsSort:是否排序,True:是,False:…
2021/10/14 22:44:26 人评论 次浏览 -
python通过关键字获取txt文件整行,并将结果进行排序,方便做参数对比
import os import math import redef get_mml_for_keyword(sourepath, keywordpath, IsSort=True):"""获取含有某个或某些关键字的行 如:“RNCID=XXX”sourepath:待处理的源数据keywordpath:过滤条件或方法(关键字)IsSort:是否排序,True:是,False:…
2021/10/14 22:44:26 人评论 次浏览