On May 21, 7:04 pm, MRAB wrote:
> Lacrima wrote:
> > Hello!
>
> > I think I have a very simple question, but I can't understand how to
> > access object properties in a way described below.
> > For example I have an instance of any class:
>
> class Person:
> > def __init__(self):
> >
Lacrima wrote:
Hello!
I think I have a very simple question, but I can't understand how to
access object properties in a way described below.
For example I have an instance of any class:
class Person:
def __init__(self):
self.name = 'John'
self.email =
Hello!
I think I have a very simple question, but I can't understand how to
access object properties in a way described below.
For example I have an instance of any class:
>>> class Person:
def __init__(self):
self.name = 'John'
self.email = 'j...@example.c