def __init__(self): self.books = [] self.InputBook = [] self.ViewBook = [] BaseApp.__init__(self)
def __init__(self): self.books = [] self.IBook = [] self.VBook = [] BaseApp.__init__(self)
def __init__(self) : BaseApp.__init__(self)
def run(self): MainApp.books = BaseApp() return MainApp.books.run()
from core.baseapp import BaseApp class Baseapp(): def __init__(self): self.list_book() if __name__ == "__main__": app = BaseApp() app.run()