[Tutor] Script won't run for no apparent reason
Dave Angel
d at davea.name
Fri Aug 10 22:16:47 CEST 2012
On 08/10/2012 04:02 PM, Selby Rowley Cannon wrote:
<SNIP>
> 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'
>
What did you intend with that line? Even if there were such a method,
it's unlikely that it does anything useful, and you do nothing with its
return value.
--
DaveA
More information about the Tutor
mailing list