with python multiple files code example
Example 1: write in multiple files python
fn = open("path of input file.txt","r")
for i, line in enumerate(fn):
f = open("/home/vidula/Desktop/project/ori_tri/input_%i.data" %i,'w')
f.write(line)
f.close()
Example 2: write in multiple files python
128,129
116,118
108,104