GAE environment differences

Robin Becker robin at reportlab.com
Fri May 1 06:29:12 EDT 2015


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




More information about the Python-list mailing list