Main.py

From Chrysalis Archive
Revision as of 13:20, 15 May 2024 by Don86326 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Shadow Agency ∞  Theory of a Personal KOS ☀  Structured-Key DataShadow  ☀  Shadow Agency Code ☀  AI Agency Workflow Schemes ☀  The Cognitive Mesh ☀  Interlocution Protocol

PromptEngineer Python Code Category
main.py ☀  prompt_engineer.py ☀  config_master.py ☀  README.md


##  main.py  
##
##  This module sets up the main Tkinter window and creates an instance of the PromptEngineerApp 
##  class, which contains the core functionality of the application. The main loop is then started  
##  to beginprocessing user interactions.

import tkinter as tk
from prompt_engineer import PromptEngineerApp

CONFIG_INI_FILE = "app.ini"

##  The main entry point of the application. This function creates the main Tkinter
##  window, instantiates the PromptEngineerApp class, and starts the main event loop.
def main():
    root = tk.Tk()
    app = PromptEngineerApp(root, CONFIG_INI_FILE)
    root.mainloop()


if __name__ == "__main__":
    main()