[google-appengine] Re: Get Sum from datastore

2009-02-12 Thread Mark Hachey
I can't comment on sharded counter, but just FYI, python has a built in method called sum that you can apply to lists or tuples, without writing your own loop. aList = [1,2,3] bTup = (1,2,3) sum(aList) or sum(bList) return 6. On Wed, Feb 11, 2009 at 7:51 PM, Barry Hunter

[google-appengine] Re: How to get the server running

2009-02-06 Thread Mark Hachey
What version of python are you running? If 3.0, it might be a problem with some commands being obsolete. On Fri, Feb 6, 2009 at 2:16 PM, andre...@strombacks.se andre...@strombacks.se wrote: How do you get the server running? I'm trying to do the Hello world applicaton described in the

[google-appengine] Re: BadValueError: Property fAmount must be a str or unicode instance, not a float

2009-02-03 Thread Mark Hachey
Thank you Alex. That took care of the issue. On Mon, Feb 2, 2009 at 8:35 PM, Alexander Kojevnikov alexan...@kojevnikov.com wrote: On Feb 3, 11:11 am, Mark mark.hac...@gmail.com wrote: My app is working fine locally on dev_appserver, but I am getting the error in the subject line after I