This is a theoretical question, since I have no real problem, but I became interested ...
If I had a huge file, say a lot of gigs, and I wanted to change one byte, and I knew the offset of this byte, how could I do this efficiently? Is there a way to do this without overwriting the entire file and writing only one byte?
I do not see anything in the api file in Python that would allow me to write a specific offset in the file.
source
share