Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (12 sloc) 440 Bytes
#!/usr/bin/env python
import wsgiref.handlers
from google.appengine.ext.webapp import template
from google.appengine.ext import webapp
class MainHandler(webapp.RequestHandler):
def get(self):
self.response.out.write(template.render('main.html', locals()))
def main():
application = webapp.WSGIApplication([('/', MainHandler)], debug=True)
if __name__ == '__main__':
Something went wrong with that request. Please try again.