I'm a beginner in python, and I need your help in a issue, I have 126 files that contains more than 12 columns and more than 1000 lines, I want to create a file which contains column 1 and 2 of all files.
so for example if I have the file 1 which contains 5 columns from A to E
A B C D E
name1 2 13 98 6
name2 7 8 67 12
name3 56 67 9 7
and the file 2 which contains 5 columns from A to E
A B C D E
name1 3 13 98 6
name2 9 8 67 12
name3 12 67 9 7
I want to create a final file which contains column A and column B of each file
so the result will be
A B B
name1 2 3
name2 7 9
name3 56 12
Please tell me if you want to know any other informations or clarification Thank you very much