Answers for "salvar txt 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

Python Answers by Framework

Browse Popular Code Answers by Language