def fetchRows(self, fetch): #print "ummm", fetch if fetch == 'sites': return self.sites() elif fetch == 'groups': return self.groups() elif fetch == 'addresses': return self.addresses() it there a way to call return self."fetch"() ie I want the fetch to be the function name