public
Description: Slightly higher than low-level interface to GAE.
Clone URL: git://github.com/dustin/gae-base.git
Search Repo:
gae-base / main.py
100644 18 lines (12 sloc) 0.33 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python
 
import time
 
import wsgiref.handlers
 
from google.appengine.ext import webapp
 
import controllers
 
def main():
    application = webapp.WSGIApplication([
        ('/', controllers.MainHandler),
        ], debug=True)
    wsgiref.handlers.CGIHandler().run(application)
 
if __name__ == '__main__':
    main()