HI If you are interested here is the python style guide http://www.python.org/dev/peps/pep-0008/
T On May 21, 9:47 am, Neal <nwalt...@sprynet.com> wrote: > Thank to all for explaining this mysterious message and showing me the > correction. > It now works great! Another post gave me the clue on how to get the > count working. > > def get(self): > query = TaskLog.gql("WHERE resultFlag > 0"); # get all rows > LIMIT = 1000 > TaskLogs = query.fetch(LIMIT,offset=0); > > if TaskLogs.count(TaskLog) > 0: > self.renderPage('templates/list.html', {"TaskLogs": TaskLogs}) > else: > self.response.out.write(""" > <h3>Error - no TaskLogs returned from query</h3> > """) > > Do Python developers usually make classes upper case and objects lower > case? > > Neal Walters --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---