常规方法,中早核fp
=
open("a.txt",*w*)2
使用系统调睁激用,fd
=
os.open("a.txt",os.O_WRONLY|O_CREAT)
name =['a1','a2','a3']seq=['seq11111','seqs22222','seq33333']
f = open("F:/1.txt", "w+")
f.write("咐冲name\tseq\n")
for 衡唤歼链樱i in range(0, len(name)):
f.write(name[i] + "\t" + seq[i] + "\n")
f.close()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)