Re: [Tutor] hashlib weirdness

2007-04-02 Thread Terry Carroll
On 2 Apr 2007, Greg Perry wrote: > Thanks Terry, others have pointed out the same thing. The stock Python > 2.5 interpreter functions properly; my issue seems to be with the IDE I > am using, that is where I've been able to nail down the problem so far. Just curious, what's the IDE? __

Re: [Tutor] hashlib weirdness

2007-04-02 Thread Greg Perry
Thanks Terry, others have pointed out the same thing. The stock Python 2.5 interpreter functions properly; my issue seems to be with the IDE I am using, that is where I've been able to nail down the problem so far. -Original Message- From: Terry Carroll On 30 Mar 2007, Greg Perry wrote

Re: [Tutor] hashlib weirdness

2007-04-02 Thread Terry Carroll
On 30 Mar 2007, Greg Perry wrote: > Here's one that has me stumped. > > I am writing a forensic analysis tool that takes either a file or a > directory as input, then calculates a hash digest based on the contents > of each file. > > I have created an instance of the hashlib class: > > m = hash

[Tutor] hashlib weirdness

2007-03-30 Thread Greg Perry
Here's one that has me stumped. I am writing a forensic analysis tool that takes either a file or a directory as input, then calculates a hash digest based on the contents of each file. I have created an instance of the hashlib class: m = hashlib.md5() I then load in a file in binary mode: f