[PYTHON-CRYPTO] What's wrong here?

Nathan Pinno falcon3166 at HOTMAIL.COM
Fri Aug 25 10:38:57 CEST 2006


What's wrong here? How do I make this work?

>>> from ezPyCrypto import key
>>> str = '4 big dogs.'
>>> key.encString(str)
Traceback (most recent call last):
  File "<pyshell#6>", line 1, in ?
    key.encString(str)
TypeError: unbound method encString() must be called with key instance as
first argument (got str instance instead)
>>> 

Thanks,
Nathan Pinno



More information about the python-crypto mailing list