[Numpy-discussion] savetxt and blanks

Nils Wagner nwagner@iam.uni-stuttgart...
Wed Jan 21 06:29:18 CST 2009


Hi all,

Is it possible to add a certain number of blanks behind 
the
second column in connection with savetxt ?

from numpy.random import rand
from numpy import savetxt
A = rand(100,2)
savetxt('noblanks.dat',A,fmt='%10.2f %10.2f')

Nils
  


More information about the Numpy-discussion mailing list