摘要:
python3将结果导出csv(excel) def write_csv(c11,c1122): c11s=c11 c1122s=c1122 path = "csv.csv" with open(path,'a+',newline="") as f: csv_write = csv.writer(f 阅读全文
摘要:
f = open("test.txt", "r") while True: line = f.readline() if line: pass # do something here line=line.strip() p=line.rfind('.') filename=line[0:p] pri 阅读全文