savetext numpy en una línea
np.savetxt("file.txt", array.flatten(), fmt="%.3d", newline = ", ")
Real Raccoon
np.savetxt("file.txt", array.flatten(), fmt="%.3d", newline = ", ")