20 lines
729 B
Python
20 lines
729 B
Python
import tkinter as tk
|
|
import sys
|
|
|
|
# Add the parent directory of gui_g_converter to the Python path
|
|
# This is useful if running directly from the directory containing gui_g_converter
|
|
# If gui_g_converter is installed as a package, this might not be needed.
|
|
# For development, uncomment the next two lines if needed:
|
|
# import os
|
|
# sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
|
|
|
|
|
# Import the main GUI class from the gui subpackage
|
|
from .gui.application_gui import CppConverterGUI
|
|
|
|
if __name__ == "__main__":
|
|
root = tk.Tk()
|
|
# Pass command line arguments if any (optional, depends on need)
|
|
# app = CppConverterGUI(root, sys.argv[1:])
|
|
app = CppConverterGUI(root)
|
|
root.mainloop() |