Florian Lindner wrote: > sha = sha.new(f.read())
> this generates a traceback when sha.new() is called for the second time You have reassigned the variable 'sha'. First time around, sha is the sha module object as obtained by 'import sha'. Second time around, sha is the SHA hashing object you used the first time around. This does not have a 'new' method. Python does not have separate namespaces for packages and variables. Modules are stored in variables just like any other object. -- Andrew Clover mailto:[EMAIL PROTECTED] http://www.doxdesk.com/ -- http://mail.python.org/mailman/listinfo/python-list