Hi,

Python 2,7 had the option to specify run time environment as follows:

if os.getenv('SERVER_SOFTWARE', '').startswith('Google App Engine/'):
  # Production
else:
  # Local development server

The above does not seem to work in Python 3. Is there an equivalent in 
python 3 for the same?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/51966e77-f5b6-4ba3-b360-867fcae1e048n%40googlegroups.com.

Reply via email to