[Python] 纯文本查看 复制代码 for i in range(len(dlt)):
idx = "" # 索引
id = eval(ilt[i]) # 标的物ID
address = dlt[i] # 标的物地址
viewer_Count = eval(vlt[i]) # 围观人数
apply_Count = eval(alt[i]) # 申请人数
bid_Count = eval(blt[i]) # 出价次数
currentPrice = round(eval(clt[i]) / 10000, 2) # 成交价
CPrice = round(eval(plt[i]) / 10000, 2) # 评估价
MPrice = round(eval(mlt[i]) / 10000, 2) # 市场价
if Cprice == 0:
consultPrice=MPrice
else:
consultPrice = CPrice
initial_enddate = eval(elt[i]) / 1000 # 网页原始结束日期
tupTime2 = time.localtime(initial_enddate)
end_time = time.strftime("%Y-%m-%d %H:%M:%S", tupTime2) # 结束时间
link = "https:" + llt[i] # 详情链接
data_list.append(
[idx, id, address, viewer_Count, apply_Count, bid_Count, currentPrice,consultPrice, end_time, link])
我对变量定义理解有误?
|