Écriture définie sur txt python
with open('your_file.txt', 'w') as f:
for item in my_list:
f.write("%s\n" % item)
Real Raccoon
with open('your_file.txt', 'w') as f:
for item in my_list:
f.write("%s\n" % item)