I want to do in a for loop something like this:
for i in range(n):
x = vector()
np.savetxt('t.txt', x, newline=" ")
but I want to save each array x as a new line in my file, but this doesn't happen with the code above, can anybody help? Thanks!
newline="\n", which according to the documentation is set by default?