+ 1
Replace line
I want to write a program in python that give me some data and then save them in one file.How to change the value in line 12?for example 14 to 24. code: f=open(
1 Resposta
+ 3
The easiest would be to combine readlines and writelines, if you just want to replace specific lines, leaving all others intact.
But could you first share your code so we could see exactly what the task is?