def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def showOutputOnScreen(self):
        self.debug = True
        self.trace = True
        self._log = None
        self._setupLog()