Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

save txt file in Python with NumPy

np.savetxt(fileDir, M, delimiter=" ", fmt="%10.6f")
# where M can be one or more than one array, a matrix, etc.
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #save #txt #file #Python #NumPy
ADD COMMENT
Topic
Name
4+9 =