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

James Stroud jstroud at
Mon Mar 28 07:44:55 CEST 2005

On Sunday 27 March 2005 07:56 pm, 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?

There are many ways.

Define large.

James Stroud, Ph.D.
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

More information about the Python-list mailing list