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.

15 lines
308 B

import os, sys
from ui.add_student import StudentTUI
cur_dir = os.path.dirname(os.path.abspath(__file__))
project_dir = os.path.dirname(cur_dir)
sys.path.append(project_dir)
def main():
file_path ='./data/students.json'
ui = StudentTUI(file_path)
ui.run()
if __name__=='__main__':
main()