+ 1
How can i delete some components of the file
Imagine that i have file which contains the following sentences : "hello world" "hello python" How can i delete a sentence ?
1 ответ
+ 1
erm...read the file, then open in write mode and write only the lines you want to keep back to it?