opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cookiejar))
urllib.request.install_opener(opener)
How do you access an authenticated Google App Engine service from a (non-web) python client?