You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
409 B
17 lines
409 B
import os, sys
|
|
|
|
|
|
cur_dir = os.path.dirname(os.path.abspath(__file__))
|
|
project_dir = os.path.dirname(cur_dir)
|
|
sys.path.append(project_dir)
|
|
|
|
from dal.student_dal_json import StudentDAL
|
|
from bll.studentbll import StudentBLL
|
|
from ui.student_tui import StudentTUI
|
|
|
|
|
|
if __name__ == "__main__":
|
|
dal = StudentDAL(file_path="students.json")
|
|
bll = StudentBLL(dal=dal)
|
|
tui = StudentTUI(bll=bll)
|
|
tui.run() |