DrawingTraining/main.py

27 lines
435 B
Python
Raw Normal View History

import os
import sys
2023-06-02 17:37:00 +02:00
import customtkinter
from src.window.app import App
2023-05-20 02:33:19 +02:00
def main():
if getattr(sys, 'frozen', False):
os.chdir(sys._MEIPASS)
2023-06-02 17:37:00 +02:00
customtkinter.set_appearance_mode("system")
customtkinter.set_default_color_theme("dark-blue")
root = customtkinter.CTk()
root.title("Drawing Training!")
root.geometry("300x600")
2023-05-20 02:33:19 +02:00
App(root)
2023-05-20 02:33:19 +02:00
root.mainloop()
2023-05-20 02:33:19 +02:00
if __name__ == '__main__':
main()