yes very clear.
thnk you for your help
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Dec 24, 2014 at 7:49 PM, wrote:
> Thank for your answer Chris.
> I'm a newbie and I just start to learn what is a class and attributes. But
> when I read your tex I restart the shell and I create a new object and it
> works.
> Your message helps me and I think I create the object tab w
Thank for your answer Chris.
I'm a newbie and I just start to learn what is a class and attributes. But
when I read your tex I restart the shell and I create a new object and it works.
Your message helps me and I think I create the object tab with self surface and
then I modified my TableauNoir
On Wed, Dec 24, 2014 at 11:42 AM, wrote:
> I wrote this code (it was on a book)
>
> class TableauNoir:
> def __init__(self):
> self.surface=""
> def ecrire(self, message_a_ecrire):
> if self.surface != "":
> self.surface += "
On 2014-12-24 00:42, fulga...@gmail.com wrote:
Hello,
I wrote this code (it was on a book)
class TableauNoir:
def __init__(self):
self.surface=""
def ecrire(self, message_a_ecrire):
if self.surface != "":
self.surface += "\n