DrawingTraining/main.py

22 lines
315 B
Python
Raw Normal View History

import os
import sys
from tkinter import *
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)
root = Tk()
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()