md5 strange error
Super Zyper
superzyper at gmail.com
Wed Oct 21 04:51:17 EDT 2009
On 21 oct, 10:11, "catalinf... at gmail.com" <catalinf... at 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()
>
> Regards !
"pass" is a Python reserved keyword so you can't use it as a
variable !
This keywork can be used to conserve python indentation but you have
nothing especially to do.
More information about the Python-list
mailing list