[Tutor] Script won't run for no apparent reason

Bod Soutar bodsda at googlemail.com
Fri Aug 10 23:11:21 CEST 2012


>>
> OK, I have put it back into Python 2.7, and now I get:
>
> Traceback (most recent call last):
>   File "crypto.py", line 27, in <module>
>     encrypt()
>   File "crypto.py", line 7, in encrypt
>     textInputE.list()
> AttributeError: 'str' object has no attribute 'list'

Would it be a strange conclusion to come to that perhaps the object type of
textInputE doesn't have an attribute 'list'?

>>> help(str)

-- Bodsda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120810/2e8cdd76/attachment.html>


More information about the Tutor mailing list