Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89719

GAE environment differences

From Robin Becker <robin@reportlab.com>
Subject GAE environment differences
Date 2015-05-01 11:29 +0100
Newsgroups comp.lang.python
Message-ID <mailman.7.1430476161.3347.python-list@python.org> (permalink)

Show all headers | View raw


A user reports getting KeyError/ImportError when executing GAE dev/live code 
looking like


import os
.......
fn = os.path.expanduser(os.path.join('~','.reportlab_settings'))
......

This works fine in cpython; so I assume that the GAE environment must be doing 
module resolution differently.

Is that the case or is it that os.path or os.path.expanduser doesn't exist?
-- 
Robin Becker

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

GAE environment differences Robin Becker <robin@reportlab.com> - 2015-05-01 11:29 +0100

csiph-web