how to add a string to the beginning of a large binary file?

could ildg at
Mon Mar 28 10:50:53 CEST 2005

I'm not going to,
I just want to know how to manipulate a large file and insert or
delete some stuff in it.

On Mon, 28 Mar 2005 09:43:41 +0200, Patrick Useldinger
< at> wrote:
> could ildg wrote:
> > I want to add a string such as "I love you" to the beginning of a binary file,
> > How to? and how to delete the string if I want to get the original file?
> You shouldn't use Python to write a virus :-)
> -pu
> --

More information about the Python-list mailing list