Steven D'Aprano wrote:
(Possible a few very old operating systems on supercomputers from the 1970s or 80s may have supported inserting... I seem to recall that VMS may have allowed that... but don't quote me.)
I wouldn't be surprised if VMS provided some sort of indexed random-access file structure that supported inserting records. OSes of that era tended to be big on things like that, since they were all about Serious Data Processing. But it probably wouldn't have let you insert data into the middle of a sequential file without explicitly moving everything that came after it. -- Greg -- https://mail.python.org/mailman/listinfo/python-list