title: Python error: AttributeError: type object 'MyClass' has no attribute 'channel'
body: <p>I need some help with my code. I have a trouble with getting the list of <code>self.channel</code> in player.py when I have input <code>import test</code>, but I am getting an error: AttributeError: type object 'MyClass' has no attribute 'channel' when I try to run the scripts.</p>
  
  <p>The error are highlight on this line:</p>
  
  <pre><code>self.channel = test.MyClass.channel()
  </code></pre>
  
  <p>in test.py it show:</p>
  
  <pre><code>from player import MyPlayer
  
  class MyClass(xbmcgui.WindowXML):
  
  def __init__(self, *args, **kwargs):
      self.channel = list()
  </code></pre>
  
  <p>in player.py:</p>
  
  <pre><code>import test
  
  class MyPlayer(xbmcgui.WindowXML):
    def __init__(self, *args, **kwargs):
        self.channel = test.MyClass.channel()
  </code></pre>
  
  <p>I want to get the <code>self.channel</code> from test.py to get the list of strings. Can you please show me how I could get the <code>self.channel</code> to get the list from test.py script?</p>