Hello

I developed app using html5 and php. Since php is not yet fully supported 
on google app engine I would like to change my php code to python because I 
have 8 lines of php code. Problem is, I'm total noob with python. I'm used 
to make index.html and that run fine with php, but when I try to run 
index.html with python then I get blank page. Can someone explain how to 
run html5 document with python on google app engine. This is what I tried:

html = """

 here goes my site

""";
import webapp2
class MainHandler(webapp2.RequestHandler):
    def get(self):
        self.render(html);

app = webapp2.WSGIApplication([
    ('/', MainHandler)], debug=True)


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to