17 lines
424 B
Python
17 lines
424 B
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
from pathlib import Path
|
||
|
|
from controller.app_controller import AppController
|
||
|
|
from view.main_window import GothCardCollectionView
|
||
|
|
|
||
|
|
|
||
|
|
def main():
|
||
|
|
root_path = Path(__file__).resolve().parent
|
||
|
|
controller = AppController(root_path)
|
||
|
|
app = GothCardCollectionView(controller, root_path)
|
||
|
|
controller.bind_view(app)
|
||
|
|
controller.start()
|
||
|
|
app.mainloop()
|
||
|
|
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
main()
|