Removing spaces while printing with python : I'm printing my output in a file with a command like this

    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 solve with "sep", like this

    print('foo', 'bar', sep='')
But I don't know how implement "sep" while writing in a file with my command:

    print >> outfile

Any suggestion?

Thank you very much.

