![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Problem with sha.new
From: <and-google@doxdesk.com>
Date: Sat Jul 09 2005 - 14:05:25 CEST
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
Python does not have separate namespaces for packages and variables.
-- Andrew Clover mailto:and@doxdesk.com http://www.doxdesk.com/Received on Thu Sep 29 16:50:58 2005 |