a = set(a)
a.discard("b")
a = list(a)
On 6月1日, 下午8时48分, DiveIntoGAE wrote:
> >>> a=["b","c","t","y","b","b","b","b"]
> >>> a
>
> ['b', 'c', 't', 'y', 'b', 'b', 'b', 'b']>>> for i in a:
>
> a.remove("b") # why can't i remove all the "b" from list a?
>
> >>> a
>
> ['c', 't', 'y', 'b']
Introduction on this api is so simple for me and I don't know how to
check if this number exceeded top line?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email
For me, cron is a good mechanism to maintain the data on schedule, but
for application requirement, sometimes I want to disable/enable some
jobs under specific situation. Now the only choice is to maintain a
large txt file with all jobs and copy part of them into cron.yaml and
then upload.
Is it p
Hello:
I have use gviz_api to generate JSON data at GAE server side and
render them in html pages under Django. Now I want to provide a "save
as" link to save all JSON data into a .csv file, how to proceed?
Thanks!
--~--~-~--~~~---~--~~
You received this message be
Currently GAE has no tool for checking datastore space cost, in
details, disk spaces costs for every index, kind, etc.
I think it's useful for developer to optimize the data structure since
there ONE GB limit.
Any idea?
--~--~-~--~~~---~--~~
You received this messa
CHeck this:
http://google-appengine.googlegroups.com/web/efficient_paging_using_key_instead_of_a_dedicated_unique_property.txt?gda=7FbhWXcAAACSStSWrftt07H4FK2Rtvurv5Qi9dmYyYZMEnTZCjCsYQQgER4RQV57mxjvIzAWBZmQ3TeCdbqm30Qz_AwgYlIpRbcWRj3jGGBm-fgbnPJIYc4-hXRRmo3Xgj6KgtSLBeZ45alvcyXc30EbEX-RNDZveV4duv6
1. Delete index in your index.yaml
2. use "appcfg.py vacuum ..." to delete your index at server side.
On 4月14日, 上午11时57分, Devel63 wrote:
> I have an app that's giving me a Number Indexes Exceeds Quota message.
>
> My understanding is that vacuumed indexes are not automatically
> credited back.
>
I tried to fetch following url and check the content-type:
http://www.pbc.gov.cn/diaochatongji/tongjishuju/gofile.asp?file=2009S07.htm
The html seems:
It's a page generated by Excel.
The response header "content-type" only return "text/html", but
charset is missed.
What's wrong with this page?
main.py is in PYTHONPATH?
What's your command looks like?
On 4月7日, 上午6时28分, satish wrote:
> I am trying to use bulkuploader for the first time using the procedure
> outlined at this page (http://code.google.com/appengine/docs/python/
> tools/uploadingdata.html) but I am receiving the following e
rom your index.yaml and run appcfg.py vaccum_indexes.
>
>
>
>
>
> On Fri, Apr 3, 2009 at 5:32 PM, 秦锋 wrote:
>
> > My models:
> > class Tag(db.Model):
> > name = db.StringProperty()
> > refCount = db.IntegerProperty(default = 0)
>
> > class
question was how to parse JSON in python, Django framework
> comes bundled with simplejson and its included in the GAE SDK.
>
> Thanks,
> Arun Shanker Prasad.
>
> On Apr 4, 6:55 pm, 秦锋 wrote:
>
>
>
> > My site uses GAE as background Data source and GWT as front UI, which
appspot.com is accessiable in China now, and I found appspot.com has a
china specific host?
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\fqin>ping cndata4u.appspot.com
Pinging appspot-china.l.google.com [72.14.235.141] with 32 bytes o
; On 4 avr, 16:15, Alkis Evlogimenos ('Αλκης Ευλογημένος)
>
>
>
> wrote:
> > You need to do both. Memcache doesn't persist.
>
> > 2009/4/4 秦锋
>
> > > Thanks!
> > > Does it means I have to put entity back to db or pickle it back to
> > >
ill find the same value inside it though.
>
> What happens is the object is being pickled when you stick it into
> memcache, when you get it the object it
> is unpickled and essentially a new instance is created from the data
> stored.
>
> T
>
> On Apr 4, 7:14 pm, 秦锋 w
My site uses GAE as background Data source and GWT as front UI, which
sends request and expects get JSON format data table back to
Visualization Chart.
As we known, JSON has specific format definition, thus how can I pass
extra parameters in on JSON response? such as paging data(bookmark)?
--~--~-
Following is my code in interactive console in local SDK admin web
page:
from google.appengine.api import memcache
from google.appengine.ext import db
r = db.Model()
memcache.set("Mytest", r)
i = 0
while i<10:
print memcache.get("Mytest")
i+=1
When I run it, I got different instances for t
Yes, it seems that list property searching will cost index space too
much.
On 4月4日, 下午5时18分, Alkis Evlogimenos ('Αλκης Ευλογημένος)
wrote:
> Remove the indexes from your index.yaml and run appcfg.py vaccum_indexes.
>
>
>
>
>
> On Fri, Apr 3, 2009 at 5:32 PM,
an mentioned "derived queries" he meant, use new queries that
> > will pick up where the last query left off (also called paging as you
> > noted). Joe Gregorio wrote an article on it which might also help:
>
> >http://code.google.com/appengine/articles/paging.html
>
4月3日, 下午8时50分, Alkis Evlogimenos ('Αλκης Ευλογημένος)
wrote:
> What do your models look like?
>
> On Fri, Apr 3, 2009 at 2:00 PM, 秦锋 wrote:
>
> > My App: cndata4u.appspot.com
> > Now I have imported about 2500 records there, and with only THREE
> > entities. B
: date
I'm a newbie here, can I delete index as "Unused in history"?
On 4月3日, 下午8时50分, Alkis Evlogimenos ('Αλκης Ευλογημένος)
wrote:
> What do your models look like?
>
> On Fri, Apr 3, 2009 at 2:00 PM, 秦锋 wrote:
>
> > My App: cndata4u.appspot.com
> > No
My App: cndata4u.appspot.com
Now I have imported about 2500 records there, and with only THREE
entities. But I have found that these data have occurred 20% data
store, about 200M!
My original CSV files have only 308K!
Any idea?
--~--~-~--~~~---~--~~
You received th
Hi all:
I'm tried to read all records and find tags of them, since my records
are larger than 1000(>4000 actually), and I know fetch has 1000 limit,
thus I tried iterator, but got failure either.
Following is my code:
class UpdateTag(webapp.RequestHandler):
def get(self):
if 0 == len(self.r
Domain binded could not be reached due to ghs.google.com is blocked.
I strongly want Google to deploy ghs.google.cn!
On 4月2日, 上午11时11分, Andy wrote:
> Every now and then I see posts on App Engine being blocked by China.
>
> Several workarounds have been suggested, which seem to work some of
> th
When I'm using HTMLParser to access a link below:
http://www.stats.gov.cn/tjsj/ndsj/2007/html/C0301c.htm
SDK keeps reporting:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google
\appengine
\ext\webapp\__init__.py", line 498, in __call__
handler.get(*gr
you could write text in CSV file like this:
[str1, str2, str3]
this will be parsed into stringlist.
On 1月17日, 下午10时58分, "jackson.h.mil...@gmail.com"
wrote:
> Documentation onbulkLoadis sparse. I have found a couple of blog
> posts that have been helpful and I have my bulkLoaders running.
>
>
You could try this in your hosts file:
209.85.171.141 yourapp.appspot.com
On 3月13日, 下午11时42分, Haoyu Bai wrote:
> Hi,
>
> Could any from China confirm this? I can't access any subdomain of
> appspot.com now, for examplehttp://socghop.appspot.com
>
> Traceroute show it is blocked at 202.112.61.2
26 matches
Mail list logo