Re: convert string literal to object attribute

2008-10-31 Thread BiraRai
On Oct 31, 3:00 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Fri, 31 Oct 2008 11:40:02 -0700, BiraRai wrote: > > def getAttributeForProperty(self,rollnumber,attribute): > >    # attribute have the value _ward > >    ''' > >    If year is null then use current year. Returns the value

Re: convert string literal to object attribute

2008-10-31 Thread Marc 'BlackJack' Rintsch
On Fri, 31 Oct 2008 11:40:02 -0700, BiraRai wrote: > def getAttributeForProperty(self,rollnumber,attribute): > # attribute have the value _ward > ''' > If year is null then use current year. Returns the value of the > attribute for the given roll number ''' > print 'S

convert string literal to object attribute

2008-10-31 Thread BiraRai
def getAttributeForProperty(self,rollnumber,attribute): # attribute have the value _ward ''' If year is null then use current year. Returns the value of the attribute for the given roll number ''' print 'Searching for attribute', attribute for