text: # -*- coding: utf-8 -*-
  """
  Created on Tue Jan 03 13:30:41 2012
  
  @author: jharston
  """
  import webapp2 as webapp
  from google.appengine.ext.webapp.util import run_wsgi_app
  from google.appengine.ext.webapp import template
  import os
  
  class leslieDescriptionPage(webapp.RequestHandler):
      def get(self):
          text_file2 = open('leslie/leslie_text.txt','r')
          xx = text_file2.read()        
          templatepath = os.path.dirname(__file__) + '/../templates/'
          html = template.render(templatepath + '01pop_uberheader.html', {'title':'Ubertool'})
          html = html + template.render(templatepath + '02pop_uberintroblock_wmodellinks.html', {'model':'leslie','page':'description'})
          html = html + template.render (templatepath + '03pop_ubertext_links_left.html', {})                       
          html = html + template.render(templatepath + '04ubertext_start.html', {
              'model_page':'',
              'model_attributes':'Leslie Matrix Overview','text_paragraph':xx}) 
          html = html + template.render(templatepath + '04ubertext_end.html', {})
          html = html + template.render(templatepath + '05pop_ubertext_links_right.html', {})
          html = html + template.render(templatepath + '06pop_uberfooter.html', {'links': ''})
          self.response.out.write(html)
  
  app = webapp.WSGIApplication([('/.*', leslieDescriptionPage)], debug=True)
  
  def main():
      run_wsgi_app(app)
  
  if __name__ == '__main__':
      main()
  