public
Description: Slightly higher than low-level interface to GAE.
Clone URL: git://github.com/dustin/gae-base.git
Search Repo:
dustin (author)
Sat Apr 12 17:30:30 -0700 2008
commit  68dbb54deeb5b35afe65b601f57162f6bb2bf825
tree    245f5de21f924d13c559ab756c7ac59ee2be3731
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()