Explicit Frustration of the Self

Donnal Walter donnalcwalter at yahoo.com
Tue Dec 31 06:06:46 EST 2002


"DeadWisdom" <DeadWisdom at wisefool.net> wrote in message
news:a1d2c9b4.0212302256.3bbd302f at posting.google.com...
> This is an old topic, discussed many times, I'm sorry.
>  But I just want to get one thing out there, and then
> you can all ignore me.
>
> What of elegance?
>
> class Life:
> property = "value"
> def Meaning(self, argument):
> return self.property

class OneLife:
    def __init__(self, *others):
        self.__unself = others
        self.__property = 0
        self.__value = 0

    def __accept(self, value):
        self.__property += value

    def Give(self, index, value):
        self.__unself[index].__accept(value)
        self.__value += value

    def ShowEgo(self):
        return self.__property

    def ShowMeaning(self):
        return self.__value








More information about the Python-list mailing list