pytohn write list into txt file code example
Example: list to text file python
with open('your_file.txt', 'w') as f:
for item in my_list:
f.write("%s\n" % item)
with open('your_file.txt', 'w') as f:
for item in my_list:
f.write("%s\n" % item)