2023-05-24 17:25:17 +02:00
|
|
|
import os
|
|
|
|
import sys
|
2023-05-22 17:50:05 +02:00
|
|
|
from tkinter import *
|
2023-05-24 14:14:07 +02:00
|
|
|
from src.window.app import App
|
2023-05-20 02:33:19 +02:00
|
|
|
|
|
|
|
|
2023-05-22 17:50:05 +02:00
|
|
|
def main():
|
2023-05-24 17:25:17 +02:00
|
|
|
if getattr(sys, 'frozen', False):
|
|
|
|
os.chdir(sys._MEIPASS)
|
|
|
|
|
2023-05-22 17:50:05 +02:00
|
|
|
root = Tk()
|
|
|
|
root.title("Drawing Training!")
|
|
|
|
root.geometry("300x600")
|
2023-05-20 02:33:19 +02:00
|
|
|
|
2023-05-23 17:42:42 +02:00
|
|
|
App(root)
|
2023-05-20 02:33:19 +02:00
|
|
|
|
2023-05-22 17:50:05 +02:00
|
|
|
root.mainloop()
|
2023-05-20 02:33:19 +02:00
|
|
|
|
|
|
|
|
2023-05-22 17:50:05 +02:00
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|