I'm printing my output in a file with this command:
print >> outfile, columns2[0],"\t",columns2[1],"\t",columns2[2]
My problem is that I have a "space" at the end of the content of each column.
I know some times it can be solved with sep
:
print('foo', 'bar', sep='')
But I don't know how implement sep
while writing in a file with my above command:
print >> outfile