On Sat, Jan 31, 2009 at 9:56 PM, Pikaurd Chen <chenha...@gmail.com> wrote:
> > Can I separate the handlers to other py files? like this > > application = webapp.WSGIApplication([('/', pyfile1.MainPage), > (r'/([0-9]+).html', > pyfile2.MainPage), > Put your handlers in different files (ResPage1.py, ResPage2.py). At the top of MainPage.py (the one holding webapp.WSGIApplication), simply do a from ResPage1 import * from ResPAge2 import * and Python will take care of the rest. > > > > Thanks > > > > > -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---