Re: help on self._dir

2008-06-10 Thread Kaushik
On Jun 9, 8:13 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Kaushik wrote: > > Hi, > > i'm new to python , and i came across a code like > > > if ("on_%s" % handler ) in self._dir: > > > i tried use the a similar method in my class it errors out like > > > AttributeError: bot instance has no

Re: help on self._dir

2008-06-09 Thread Diez B. Roggisch
Kaushik wrote: > Hi, > i'm new to python , and i came across a code like > > if ("on_%s" % handler ) in self._dir: > > i tried use the a similar method in my class it errors out like > > AttributeError: bot instance has no attribute '_dir' > > what am i doing wrong? self._dir is just an attri

help on self._dir

2008-06-09 Thread Kaushik
Hi, i'm new to python , and i came across a code like if ("on_%s" % handler ) in self._dir: i tried use the a similar method in my class it errors out like AttributeError: bot instance has no attribute '_dir' what am i doing wrong? Thanks, Kaushik -- http://mail.python.org/mailman/listinfo/pyt