Format output string, right alignment
I am processing a text file containing coordinates x, y, z 1 128 1298039 123388 0 2 …. every line is delimited into 3 items using words = line.split() After processing data I need to write coordinates back in another txt file so as items in each column are aligned right (as well as the … Read more