title: PyThon How do I pass a object to another class?
body: <p>I just want to access some_object within class hello: def GET()</p>
  
  <pre><code>from wsgiref.simple_server import make_server
  import web
  
  urls = (
      '/(.*)', 'hello'
  )
  
  class hello:
      def GET(self, name):
          return some_object
  
  
  if __name__ == '__main__':
  
      data = []
      some_object = ParentObj.func(data)
  
      app = web.application(urls, globals())
      app.run()
  </code></pre>