import os
os.environ.get('APPLICATION_ID')
On Dec 22, 4:09 pm, Aral <[email protected]> wrote:
> I need to get to the app name at runtime when running on the
> deployment environment.
>
> I tried open('app.yaml').read() + a little regexp. Works locally, but
> it can't find the file on the deployment environment.
>
> Is it possible to read in app.yaml on deployment?
>
> If not, is there a way to get at the app name?
>
> Thanks,
> Aral
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---