Re: member variables in python
- From: "PyPK" <superprad@xxxxxxxxx>
- Date: 31 Mar 2006 08:30:56 -0800
I see that.But here in my case the testflags is computed inside the
member function something like
class AA:
def __init__(self):
self.test_flag = 0 # initialize
def methods(self, value):
save_value = _munge(value)
self.test_flag = save_value
Now basically I want use this self.test_flag in another class ..
Basically I wanted to know if there is a better way than what i did
before..not necessarly a member variable way ..just looking for a more
eligant way if there is any..
.
- References:
- member variables in python
- From: PyPK
- Re: member variables in python
- From: Fredrik Lundh
- member variables in python
- Prev by Date: Re: re.sub problem
- Next by Date: Re: member variables in python
- Previous by thread: Re: member variables in python
- Next by thread: cd burning
- Index(es):