title: How to fix ```<function Render.__getattr__.<locals>.template at 0x7f1dafac8400>``` error in python3 web.py
body: <p>I'm using web.py for python3. And gets an error.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>function Render.<strong>getattr</strong>..template at 0x7fcf15a43840</p>
  </blockquote>
  
  <p>main.py</p>
  
  <pre><code>import web
  from web.template import render
  
  urls = (
      '/', 'Home'
  )
  render = web.template.render('Views/Templates/', base='MainLayout')
  app = web.application(urls, globals())
  
  #routes
  class Home:
      def GET(self):
          return render.Home
  
  if __name__ == '__main__':
      app.run()
  
  </code></pre>
  
  <p>Views/Templates/MainLayout.html</p>
  
  <pre><code>def with (page)
  
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt; Title &lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div id='app'&gt;
        $:page
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  
  </code></pre>
  
  <p>Views/Templates/Home.html</p>
  
  <pre><code>&lt;h1&gt; Hello World!&lt;/h1&gt;
  </code></pre>