Posts by Ezequiel Cavalcante • 1 point
2 posts
-
-1
votes3
answers1730
viewsA: Remove quotes in lines from csv file
you can use . replace("\"", "") Ex: palavra = "\"teste\"" out = "teste" palavra.replace("\"", "") out = teste
pythonanswered Ezequiel Cavalcante 1 -
-1
votes3
answers703
viewsA: How to leave the program open in python
The "r" parameter is for reading, each line that goes through the FOR overriding the first one, try changing to "a" of "appending" Before: lista=open('item.txt','r') Afterward:…