Answers for "colocar linhas de arquivo txt em lista python"

0

lista to txt python

#Salvar lista em .txt
with open('your_file.txt', 'w') as f:
    for item in my_list:
        f.write("%sn" % item)
Posted by: Guest on November-27-2020

Code answers related to "colocar linhas de arquivo txt em lista python"

Python Answers by Framework

Browse Popular Code Answers by Language