On Wed, Oct 21, 2009 at 1:41 PM, catalinf...@gmail.com
<catalinf...@gmail.com> wrote:
> I have this error , what happen ?
>
> Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
> [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import md5
>>>> pass = md5.new()
>  File "<stdin>", line 1
>    pass = md5.new()
>         ^
> SyntaxError: invalid syntax
>>>> m = md5.new()
>>>> n = md5.new()
>

pass is a python keyword.  You'll need a different name for the variable.

-- 
regards,
kushal
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to