try GAE's templates
http://code.google.com/appengine/docs/gettingstarted/templates.html
2008/11/16 Vee Why <[EMAIL PROTECTED]>
>
> I am a complete novice at using python, but can someone help me.
>
> I want to load a Index.html home page to my Google App Engine page
> using python.
>
> based on the Google App Engine tutorial, I have this python script,
> but want the page to load a HTML file called 'index.html', what do I
> do?
>
> My Python script
> ************************************
>
> from google.appengine.ext import webapp
> from google.appengine.ext.webapp.util import run_wsgi_app
> class MainPage(webapp.RequestHandler):
> def get(self):
> self.response.headers['Content-Type'] = 'text/plain'
> self.response.out.write('Hello, webapp World!')
> application = webapp.WSGIApplication(
> [('/', MainPage)],
> debug=True)
> def main():
> run_wsgi_app(application)
> if __name__ == "__main__":
> main()
>
> ************************************
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---