Two questions really:
(1) Is it possible to add text to the beginning of a file? I tried using r+, but that just overwrites what was already there. I tried using w+, but that that also overwrites what was already there. I tried using a+, and that adds text to the end of the file.
(2) Is it possible to add text at a specific location in a file?
Thanks much!