Random Access Files
Colin Meeks
colinmeeks at home.com
Thu Mar 15 09:21:57 EST 2001
Is it possible to have random access files as opposed to serial access.
Basically what I would like to be able to do is be able to write data within
a file, without having to
1. Read the first part
2. Write the first part
3. Write the bit I want
4. Read the final part
5. Write the final part
I would like to be able to do something like
1. Seek the potion to write
2. Write
3. Close file
I don't mean writing code that hides the methods of the first example. If I
remember correctly you can do random access files in GWBasic.
Anyone have any pointer??
Thanks
Colin
More information about the Python-list
mailing list