How would I update a file with out rewriting it or anything but search for the value that I want to update so lets say in the file I have this data:
George|40|19|80|yes
Bob|19|20|01|no
James|30|19|90|yes
But I want to search for Bob without overwriting the whole file and change bob to
Bob|23|20|01|yes
But still have the values in it but updated:
George|40|19|80|yes
Bob|23|20|01|yes
James|30|19|90|yes
Is this possible to do this without using the write module in python?
If this isn't possible doing this then sorry for wasting your time