DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
numpy savetext in one line
np.savetxt("file.txt", array.flatten(), fmt="%.3d", newline = ", ")
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#numpy
#savetext
#line
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit