Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import webapp2
- class MainPage(webapp2.RequestHandler):
- def get(self):
- self.response.headers['Content-Type'] = 'text/plain'
- self.response.write('Hello, World!')
- app = webapp2.WSGIApplication([
- ('/', MainPage),
- ], debug=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement