[google-appengine] Re: Can I separate py file?

2009-02-01 Thread Faber Fedor
On Sat, Jan 31, 2009 at 9:56 PM, Pikaurd Chen 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 differen

[google-appengine] Re: Can I separate py file?

2009-01-31 Thread Barry Hunter
Perhaps you looking to add multiple entries too app.yaml http://code.google.com/appengine/docs/python/tools/configuration.html That way you can point the application server at the correct py file. 2009/2/1 Pikaurd Chen : > Hi guys, > Now, I have to add all my handler in a 'main.py', like this