> And now for the most import point: __getattr__ is only called as a
> *last* resort. That is, after the attribute lookup mechanism will have
> tried *and failed* to find the name in the instance's __dict__.
Thanks you all for all the suggestions and thoughts. So in other
words, this piece of cod
On Apr 1, 12:10 pm, Robert Kern wrote:
> On 2010-04-01 13:56 PM, Ani wrote:
>
>
>
> > Hi All:
>
> > I am just a beginner in python. Can anyone please tell me what is
> > wrong with this piece of code?
>
> > import copy
> > class BaseD
Hi All:
I am just a beginner in python. Can anyone please tell me what is
wrong with this piece of code?
import copy
class BaseDummyObject(object):
def __init__(self):
pass
def __getattr__(self, item):
try:
return self.__dict__.__getitem__(item)
excep
I'm trying to remove the selected rows from the table,
but it's not working, i've tried many ways, don't know what I'm missing.
code below:
class MonitorUi(QWidget):
def __init__(self,parent = None):
QWidget.__init__(self,parent)
self._initalTable =
[["none","none","none"],
*** WARNING **
This message has been scanned by MDaemon AntiVirus and was found to
contain infected attachment(s). Please review the list below.
AttachmentVirus name Action taken
--