I'm quite new to python and GAE, can anyone please provide some help/sample code for doing the following simple task? I managed to read a simple file and output it as a webpage but I need some slightly more complicated logic. Here is the pseudo code:
open file;
for each line in file {
store first line as album title;
for eac...
Hi, I have several newbie questions about EC2, thanks for your attention,
1) why EC2 instances come with specific memory/storage quotas? In the cloud environment, can't we just request the amount of memory/storage as we require, and the amazon infrastructure take care of the allocation? I understand an pre-determined allocation of mem...
What I am trying to do is pretty simple: yet something has clearly gone awry.
On the Front-End:
function eval() {
var x = 'Unchanged X'
$.get("/", { entry: document.getElementById('entry').value },
function(data){
x = data;
}
);
$("#result").html(x);
}
On the Back-End:
class MainHandl...
I have a developed a Restlet application. I would like to return a JSP file on a URL request through Restlet. How can I achieve this without using a redirect?
i.e.
Let's say I have the file "contact.jsp" on mydomain.com and I want people to be able to access contact.jsp at http://mydomain.com/contact
Thus, in Restlet, I would have:
r...
I am using GWT and Google App Engine. I have array of records and I want to update them every 30 mins.
In the ServiceImpl I have the fallowing code :
new Timer().schedule(new TimerTask(){
@Override
public void run() {
try {
Thread.sleep(30000);
} catch (InterruptedException e) {
e.printStackTrace();
}
res...
How can I order the results of Query using more than 1 property?
For example, I want to order my Query results by 'lastname' and order by 'firstname' in each group of 'lastname'.
...
How can I implement Comet / Server push in Google App Engine in Python?
...
If one iswriting a Django/ Google App Engine application and would like to have logs that are conveniently conspicuous based on color (i.e. errors in red), how does one set that up?
I've copied the helpful solution from this question, but I'm not sure how to integrate it into Django/Google App Engine.
I figured one would put the follow...
I have a single code file for my Google App Engine project. This simple file has one class, and inside it a few methods.
Why does this python method gives an error saying global name not defined?
Erro NameError: global name 'gen_groups' is not defined
import wsgiref.handlers
from google.appengine.ext import webapp
from django.utils im...
I'm having a hard time trying to reset my ID/Name column in my google app. Right now it's on 3002, yet there's only 1 other peice of data still in the DB. I'm not even certain how it decided on 300x over like 1,2,3...
I'm sure this is a simple problem for someone more SQL inclined than I am :).
Thanks in advance!
...
I have been trying to make the NLTK (Natural Language Toolkit) work on the Google App Engine. The steps I followed are:
Download the installer and run it (a .dmg file, as I am using a Mac).
copy the nltk folder out of the python site-packages directory and place it as a sub-folder in my project folder.
Create a python module in the fo...
Hello,
I would like to ask which IDE should I use for developing applications for Google App Engine with Python language?
Is Eclipse suitable or is there any other development environment better?
Please give me some advices!
Thank you!
...
I would like to take a screenshot of a rendered webpage in Google App Engine. Any suggestions on the best way I can accomplish this? Any Java libraries that I can programmatically render a page to a JPG or PNG?
...
Someone has to be able to explain what I'm doing wrong here! I'm trying to create the MOST simple example of an AJAX post to a Google App Engine app...and I'm failing!
Here is the app python
import cgi
from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi...
I'm looking to replace AppEngine's devserver with spawning. Spawning handles standard wsgi handlers, just like appengine, so running your app on it is easy.
But the devserver takes into account your app.yaml file that has url redirects etc. I've been going through the devserver code and it is pretty easy to get the BaseHTTPRequestHandle...
Has anybody tried to setup SBT to work with Google App Engine? I dream about using development server auto-reloading after source changes.
...
Anyone knows any "legal" way to surpass the 10-app-limit Google imposes?
I wouldn't mind to pay, or anything, but I wasn't able to find a way to have more
than 10 apps and can't either remove one.
...
If I have two tables, Company and Sales, and I want to display both sets of data in a single list, how would I do this on Google App Engine using GQL?
The models are:
class Company(db.Model):
companyname = db.StringProperty()
companyid = db.StringProperty()
salesperson = db.StringProperty()
class Sales(db.Model):
...
It's a simple question, but I haven't found the answer anywhere. Thoughts and input appreciated.
I'm using Django, too, for what it's worth. :)
Cheers.
...
I just hit my 10 application limit. Is there a way to delete ones where I never finished the idea?
http://appengine.google.com/
...