Posts by Heitor Henrique • 5 points
2 posts
-
0
votes2
answers405
viewsQ: Ignoring a line from a txt file
I read a file . txt where I want to separate each word by comma, ie when finding a space before the word and after. But I also need to ignore the entire txt line where the ##character is. Below…
-
0
votes2
answers79
viewsQ: Read file without displaying space
Guys, I’d like to know how to print a txt file without displaying line breaks and spaces. For example, the text in the.txt file is this: The rat chewed his clothes Of the King of Rome I’d like to…
pythonasked Heitor Henrique 5