md5 strange error

Xavier Ho contact at xavierho.com
Wed Oct 21 04:56:05 EDT 2009


On Wed, Oct 21, 2009 at 6:11 PM, catalinfest at gmail.com <
catalinfest at gmail.com> wrote:

> >>> pass = md5.new()
>  File "<stdin>", line 1
>    pass = md5.new()
>         ^
> SyntaxError: invalid syntax
>

pass is a keyword in Python, you can't use it as an identifier.

Try password instead.

Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091021/5ee671dd/attachment-0001.html>


More information about the Python-list mailing list