SyntaxFix
Write A Post
Hire A Developer
Questions
Using numpy.savetxt is also an option:
numpy.savetxt
import numpy as np np.savetxt('list.txt', list, delimiter="\n", fmt="%s")