OT: AttributeError
dn
PythonList at DancesWithMice.info
Tue Sep 28 18:38:22 EDT 2021
On 29/09/2021 10.50, Stefan Ram wrote:
> (For Python programmers who have watched "Game of Thrones".)
>
> |>>> class girl:
> |... pass
> |...
> |>>> girl = girl()
> |>>> print( girl.name )
> |Traceback (most recent call last):
> | File "<stdin>", line 1, in <module>
> |AttributeError: A girl has no name.
For oldies, who remember the musical "South Pacific" (to say nothing of
calculating addresses on a backing-store):
sing "on a clear disk, you can seek forever..."
For C programmers who are fans of pirate stories:
long John # Silver
For those of us who remember/can compute in binary, octal, hex, or
decimal as-needed:
Why do programmers confuse All Hallows'/Halloween for Christmas Day?
--
Regards,
=dn
More information about the Python-list
mailing list