记录用
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import os
import sys
import re
s1 = ['1','jiaofu','customer1','10','2000','交付','gzs']
s2 = ['2','zhifu','customer2','20','3000','支付','gzs']
s3 = ['3','rongzi','','30','4000','融资','gzs']
total_nos = []
total_nos.append(s1)
total_nos.append(s2)
total_nos.append(s3)
print (total_nos)
ele = []
for i in total_nos:
ele.append('|'.join(i))
f = open('D:\\1.txt','w')
for i in ele:
f.write(i+"\n")
f.close()