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

2005-03-28 Thread Fredrik Lundh
"could ildg" <[EMAIL PROTECTED]> wrote: > I just want to know how to manipulate a large file and insert or > delete some stuff in it. you cannot insert or delete stuff in files in contemporary operating systems; all you can do is to overwrite parts of the file, or add/remove stuff at the end of t

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

2005-03-28 Thread could
James Stroud,hello: I mean large is over 1 GB. === 2005-03-28 13:44:55 you mentioned=== >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 g

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

2005-03-28 Thread could ildg
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 <[EMAIL PROTECTED]> wrote: > could ildg wrote: > > I want to add a string such as "I love you" to the beginning of a binary > > file,

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

2005-03-27 Thread Patrick Useldinger
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

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

2005-03-27 Thread James Stroud
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 Geno