Ah, my bad.
Apparently the script was running but wasn't printing anything because
of this:
application = webapp.WSGIApplication([('/', MainHandler)],
It only runs for '/'. Switch that to '/.*/' and it'll run the get in
MainHandler.
On Sep 27, 12:44 am, quano <[email protected]> wrote:
> It's a simple hello world script. Hello world isn't being printed.
>
> On Sep 26, 4:58 pm, Wooble <[email protected]> wrote:
>
> > Is main.py correctly handling all of the URLs you're sending to it?
> > What makes you think it's not running?
>
> > On Sep 26, 7:18 am, Kenchu <[email protected]> wrote:
>
> > > Maybe this has been asked already, but shouldn't handlers url: .* math
> > > all urls? Because currently I'm using this:
>
> > > handlers:
> > > - url: .*
> > > script: main.py
>
> > > And if you go to the address without any arguments, like so:
>
> > >http://localhost:8080/
>
> > > It will work, but as soon as you add anything behind this, main.py
> > > doesn't seem to run anymore. Why? .* should match anything.
>
> > > Also, is it possible to make the python server behave as a normal one,
> > > i.e. instead of having script files like these, make the root
> > > directory "static" and use only static files such as html, css etc?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---