def pop(self, i = len(WINDOWS_STACK)-1): window = WINDOWS_STACK.pop(i) window.close() del window
def pop(self, i=len(WINDOWS_STACK) - 1): window = WINDOWS_STACK.pop(i) window.close() del window
def append(self, var): WINDOWS_STACK.append(var)