37
votes
10answers
30k views

How do you validate a URL with a regular expression in Python?

I'm building a Google App Engine app, and I have a class to represent an RSS Feed. I have a method called setUrl which is part of the feed class. It accepts a url as an input. I'm trying to use the ...
56
votes
11answers
63k views

Upload files in Google App Engine

I am planning to create a web app that allows users to downgrade their visual studio project files. However, It seems Google App Engine accepts files uploading and flat file storing on the Google ...
109
votes
13answers
53k views

Choosing Java vs Python on Google App Engine

Currently Google App Engine supports both Python & Java. Java support is less mature. However, Java seems to have a longer list of libraries and especially support for Java bytecode regardless of ...
21
votes
3answers
7k views

Read a file on App Engine with Python?

Is it possible to open a file on GAE just to read its contents and get the last modified tag? I get a IOError: [Errno 13] file not accessible: I know that i cannot delete or update but i believe ...
41
votes
14answers
19k views

Google AppEngine: How to fetch more than 1000?

First: I'm a beginner in python. How can I fetch more than 1000 record from data store and put all in one single list to pass to django?
10
votes
5answers
3k views

Using the Python NLTK (2.0b5) on the Google App Engine

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 ...
83
votes
14answers
42k views

What CMS runs on Google App Engine?

Is it possible to deploy any CMS (Content Management System) using Google App Engine? Wikipedia lists 4 Python CMSes and one of them is Django based. Do you know any way to make any of them to work ...
65
votes
5answers
23k views

How can I parse JSON in Google App Engine?

I'd like to parse a JSON string into an object under Google App Engine (python). What do you recommend? Something to encode/stringify would be nice too. Is what you recommend built in, or a library ...
14
votes
3answers
1k views

In Python, how can I test if I'm in Google App Engine SDK?

Whilst developing I want to handle some things slight differently than I will when I eventually upload to the Google servers. Is there a quick test that I can do to find out if I'm in the SDK or ...
11
votes
2answers
2k views

Fetching a random record from the Google App Engine Datastore?

I have a datastore with around 1,000,000 entities in a model. I want to fetch 10 random entities from this. I am not sure how to do this? can someone help?
39
votes
5answers
13k views

How do you access an authenticated Google App Engine service from a (non-web) python client?

I have a Google App Engine app - http://mylovelyapp.appspot.com/ It has a page - mylovelypage For the moment, the page just does self.response.out.write('OK') If I run the following Python at my ...
31
votes
17answers
18k views

Delete all data for a kind in Google App Engine

I would like to wipe out all data for a specific kind in Google App Engine. What is the best way to do this? I wrote a delete script (hack), but since there is so much data is timeout's out after a ...
63
votes
3answers
11k views

Flask vs webapp2 for Google App Engine

I'm starting new Google App Engine application and currently considering two frameworks: Flask and webapp2. I'm rather satisfied with built-in webapp framework that I've used for my previous App ...
16
votes
6answers
3k views

How to implement “autoincrement” on Google AppEngine

I have to label something in a "strong monotone increasing" fashion. Be it Invoice Numbers, shipping label numbers or the like. A number MUST NOT BE used twice Every number SHOULD BE used when ...
4
votes
2answers
973 views

What does the 'u' symbol mean in front of string values?

Yes in short i would like to know why am I seeing a u in front of my keys and values. I am rendering a form. The form has check-box for the particular label and one text field for the ip address. I ...

1 2 3 4 5 51
15 30 50 per page