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

could ildg could.net at gmail.com
Mon Mar 28 03:50:53 EST 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
<pu.news.001 at gmail.com> 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
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list