#Salvar lista em .txt with open('your_file.txt', 'w') as f: for item in my_list: f.write("%s " % item)