I try to find a way to write in the first line of a file.
The problem is that I write to the file about 3000 lines (by out.write
), but just in the end of this writing I have a information that needed to be insert to the first line of this file.
There is a easy way to do that?