Steve Nelson schrieb:
> I want to create a dictionary of files and md5sums for a given
> directory. It seems, however, that md5 works with strings or
> read-only buffers, and can't be passed a file.
>
> What I want to do is something like:
>
> for f is os.listdir("."):
> d[f] = someFunctionTha
Hello,
I want to create a dictionary of files and md5sums for a given
directory. It seems, however, that md5 works with strings or
read-only buffers, and can't be passed a file.
What I want to do is something like:
for f is os.listdir("."):
d[f] = someFunctionThatReturnsMD5Sum(f)
Has this wh