"Bala subramanian" <bala.biophys...@gmail.com> wrote

I want to extract 1a1 2a1 3a1 from file 1, similarly 1a2 2a2 3a2 from file 2 ( same columns) and then make a new output file of the following format

1a1 1a2 ---
2a1 2a2 ---
3a1 3a2 ---

Similarly for the 2nd, 3rd, 4th..columns in the input files.

OK, So you want separate output files per column?
And each file contains the same column from each
of the input files?

So
output1.txt contains all of the column 1 data
output2.txt contains all of the column 2 data
and so on?

Alan G

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to