<div dir="ltr"><div><div><div><div><div>Hi, I am working on a script in which I want to provide the output formatted in three columns. I can use <br><span style="font-family:monospace,monospace"><br>nlength = 20<br>RES = [MAPy, vif, sqrtvif]<br>print '{0[0]:{1}s} {0[1]:8.2f} {0[2]:8.2f}'.format(RES, nlength)</span><br><br></div>This prints nicely on the command line. However, on the command output tab of the GUI, the order of the printed lines is messed up.<br><br></div>If I use instead:<span style="font-family:monospace,monospace"><br></span><br><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace">nlength = 20<br></span>RES = [MAPy, vif, sqrtvif]<br><a href="http://grass.info">grass.info</a>('{0[0]:{1}s} {0[1]:8.2f} {0[2]:8.2f}'.format(RES, nlength))</span><br><br></div>It looks good on the command output tab, but it is printed without the fixed width.<br><br></div>Is there a way to make to print text in multiple columns both on the command line and the command output tab of the addon GUI?<br><br></div>Paulo<br><div><br><br></div></div>