Matthias Güntert <[EMAIL PROTECTED]> writes:
> i am in the process of writing a python script to backup my data. Now I
> would like to implement md5/sha1 hashes.
Try editing as follows: change
> f = open(fname, "rb")
> while 1:
> block = f.read(1024*1024)
>
On Sun, 2006-03-26 at 11:48 -0500, Adam DePrince wrote:
>
> What do you get when you type
>
> md5sum backup.tar.bz2?
it is working. Don't know what went wrong. But now I have another
question: How am I able to execute an external program, like mysqldump?
I had a look into the mysql module it
On Sun, 2006-03-26 at 16:56 +0200, Matthias Güntert wrote:
> Hello list-members
>
> i am in the process of writing a python script to backup my data. Now I
> would like to implement md5/sha1 hashes.
>
> # do md5 fingerprinting
> if config.get("global", "crc") == "md5":
> m = md
What do you get when you type
md5sum backup.tar.bz2?
- Adam
On Sun, 2006-03-26 at 16:56 +0200, Matthias Güntert wrote:
> Hello list-members
>
> i am in the process of writing a python script to backup my data. Now I
> would like to implement md5/sha1 hashes.
>
> # do md5 fingerprinting
Em Dom, 2006-03-26 às 16:56 +0200, Matthias Güntert escreveu:
> so the format should be okay, but whats wrong with my piece of code?!
It looks ok for me. What does md5sum gives as the sum?
--
Felipe.
--
http://mail.python.org/mailman/listinfo/python-list
Hello list-members
i am in the process of writing a python script to backup my data. Now I
would like to implement md5/sha1 hashes.
# do md5 fingerprinting
if config.get("global", "crc") == "md5":
m = md5.new()
# open the file
f = open(fname, "rb")
whil