0
So how could I pick up a text like this for example:
"testo<br>de<br>exemplo<br>"
and create a conditional (after giving the .open('file.txt', 'r')) for each time the program finds the < br > when reading the file, skip a line (and maybe even delete the < br > after skipping the line)? Thanks in advance.
arquivo = open('arquivo.txt', 'w')
for line in arquivo:
if #pedaçodaline == '<br':
# deletar o <br>
print('\n')
Got it here! Thank you very much!
– Caio Costa