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


Groups > comp.lang.python > #89719 > unrolled thread

GAE environment differences

Started byRobin Becker <robin@reportlab.com>
First post2015-05-01 11:29 +0100
Last post2015-05-01 11:29 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#89719 — GAE environment differences

FromRobin Becker <robin@reportlab.com>
Date2015-05-01 11:29 +0100
SubjectGAE environment differences
Message-ID<mailman.7.1430476161.3347.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web