-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
32 lines (23 loc) · 672 Bytes
/
main.py
File metadata and controls
32 lines (23 loc) · 672 Bytes
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
30
31
32
"""PPT Command Executor - Entry point for the application."""
import customtkinter as ctk
import logging
from src.config import LOG_FORMAT, LOG_DATE_FORMAT
from src.app import App
# Configure logging
logging.basicConfig(
level=logging.INFO,
format=LOG_FORMAT,
datefmt=LOG_DATE_FORMAT
)
logger = logging.getLogger(__name__)
def main():
"""Main entry point for the application."""
# Set appearance mode
ctk.set_appearance_mode("dark")
# Create and run the application
logger.info("Starting PPT Command Executor")
app = App()
app.mainloop()
logger.info("PPT Command Executor closed")
if __name__ == "__main__":
main()