you import the file, but don't instantiate the MyPlayer class
You write like:
You write like:
import test class MyPlayer(xbmcgui.WindowXML): def __init__(self): self.tst = test.MyClass(xbmcgui.WindowXML) def UpdateEPG(self): self.tst.get_programme_button_width()