save numpy array to text file
a_file = open("test.txt", "w") for row in an_array: np.savetxt(a_file, row) a_file.close()
Source: www.kite.com
a_file = open("test.txt", "w") for row in an_array: np.savetxt(a_file, row) a_file.close()