I do the following
- url: /user/.*
script: script.py
And the following handling in script.py:
class GetUser(webapp.RequestHandler):
def get(self):
logging.info('(GET) Webpage is opened in the browser')
self.response.out.write('here I should display user-id value')
application = webapp.WSGIApplication(
[('/', GetUser)],
debug=True)
Looks like something is wrong there.
In
app.yaml
you want to do something like:And then in
script.py
: