3
I have a question about being new to the python. I have a file for example:
bla bla bla
bla bla bla 5
bla bla bla 846:545
energia 3
I intend to read from the file teste.txt
the energy information.
Of which I want to check the number that is, and.g the number 3, and if necessary change it to the number 5.
Thank you, this is exactly what I wanted, I was having trouble validating and rewriting the file. I’ve noticed my mistake thanks to you.
– Agostinho Ferraz