I am importing a module
from Boards import CheckerBoardModule CheckerBoardModule includes a class called CheckerBoard
When I want to use it, I need to call CheckerBoardModule.CheckerBoard, rather than just CheckerBoard. e.g.
class SnakesAndLaddersBoard(CheckerBoardModule.CheckerBoard): def __init__(self,width,canvas): CheckerBoardModule.CheckerBoard.__init__(self,width,canvas) self.snakes = [] self.ladders = [] Why can't I just used CheckerBoard, without the CheckerBoardModule prefix?