Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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 by www.kite.com #
 
PREVIOUS NEXT
Tagged: #save #numpy #array #text #file
ADD COMMENT
Topic
Name
6+2 =