Yes, I got help with some friends here, and the problem is solved.
As I said, I have a file with some columns, and I need to put the lines of specific columns in a new file.
This code worked revy well:
- Code: Select all
for line in test:
columns = line.split('\t')
Note that "test" now is my input file, and "result-test" is my output file containing the data results.
Thank you very much guys!