Well this thread is really old. There is now a App Identity API, http://code.google.com/appengine/docs/python/appidentity/overview.html
This handles that for you. On Sun, Mar 11, 2012 at 7:12 PM, Pavel Vlasov <[email protected]> wrote: > The following variable holds correct application name on the production > side: > > os.getenv('APPLICATION_ID') > > Unfortunately it holds a crap like "dev~appname" on the dev server. But it > is better than parsing file path (that's a really bad idea). > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/v7W-7_p_rxsJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
