How about looking at HTTP_HOST ? (or what ever the HTTP header would
be accessed as in GAE)
--
Barry
how about os.getcwd() ? (tested using http://shell.appspot.com/)
>>> os.getcwd()
'/base/data/home/apps/shell/1.21'
>>> os.getcwd().split('/')[-2]
'shell'
http://code.google.com/appengine/docs/python/appidentity/overview.html
This handles that for you.
> --
> 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 google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.