-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
29 lines (24 loc) · 858 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
"""
Main file for the project. This file is intended to be the main entry point for the project.
"""
import sys
from pathlib import Path
import tkinter as tk
if __name__ == "__main__":
# Add the current directory to the system path
sys.path.append(str(Path(__file__).parent))
# Run the start GUI
from gui_ask_start import window
from utils.commands_gui_ask_start import *
window.mainloop()
if new_project: # If the user wants to start a new project
print("Starting a new project...")
# Run the initialization GUI
from gui_initialize import *
from utils.commands_gui_initialize import *
window.mainloop()
print("Initialization GUI closed.")
# Run the main GUI
from gui_main_frame import *
from utils.commands_gui_main_frame import *
window.mainloop()