SXXXXXXX_GUI_g_reconverter/gui_g_reconverter/__main__.py
2025-05-12 11:38:02 +02:00

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()