Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #############################################################
- # app.yaml #
- #############################################################
- application: engineapp-hello-world
- version: 1
- runtime: python27
- api_version: 1
- threadsafe: yes
- handlers:
- - url: /favicon\.ico
- static_files: favicon.ico
- upload: favicon\.ico
- - url: .*
- script: main.app
- libraries:
- - name: webapp2
- version: "2.5.2"
- #############################################################
- # main.py #
- #############################################################
- import webapp2
- class MainHandler(webapp2.RequestHandler):
- def get(self):
- self.response.write('Hello world!')
- app = webapp2.WSGIApplication([
- ('/', MainHandler)
- ], debug=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement