files: direct access - NOT sequential

Patrick Carabin Patrick.Carabin at sciencesnaturelles.be
Tue Apr 15 05:21:28 EDT 2003


i search a means to get " direct access " inside files, eg mixing 
read & write operaions for the same file
example:
given a file with contents : "qwerty" , positionning on the "w", and 
writing a "N" , so the file becomes "qNerty"
How can i achieve this in Python ?

TIA,
Patrick Carabin

Patrick.Carabin at sciencesnaturelles.be 
Patrick.Carabin at NatuurWetenschappen.be .
Institut Royal des Sciences Naturelles de Belgique 
http://www.SciencesNaturelles.be/
Koninklijk Belgisch Instituut voor Natuurwetenschappen 
http://www.NatuurWetenschappen.be/ 

«Le bonheur n'est pas au bout du chemin, le bonheur est le chemin.»
«Het geluk is niet op het einde van de weg, het geluk is de weg.»
						Dalaï Lama.





More information about the Python-list mailing list