I'm trying to deal with txt files.
I have a 2D list called reps = [], len(reps) = 41, I also have a directory called replies, which contains 34 txt files.
I want to do like this:
reps[0][0]is the first line of thefile1.txtunder the replies directory,reps[0][1]is the second line etc.reps[1][0]is the first line of the secondfile2.txt- Until all
34 txtfiles have been replaced then it's done
how can I achieve this?
I would be very appreciate