Question regarding checksuming of a file
Edward Elliott
nobody at 127.0.0.1
Sat May 13 21:39:39 EDT 2006
Andrew Robert wrote:
> m=md5.new()
> contents = open(self.file_name,"rb").read()
> check=md5.update(contents)
>
> However this does not appear to be actually returning the checksum.
the docs are your friend, use them. hint: first you eat, then you...
http://docs.python.org/lib/module-md5.html
--
Edward Elliott
UC Berkeley School of Law (Boalt Hall)
complangpython at eddeye dot net
More information about the Python-list
mailing list