-
Notifications
You must be signed in to change notification settings - Fork 0
/
LanguageDictionary.py
41 lines (28 loc) · 986 Bytes
/
LanguageDictionary.py
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
33
34
35
36
37
38
39
40
41
# In this file we list all the libraries that our project needs to run
# we add in this file to be able to use py2app
# Modules of the file src/view/dictionary_app.py
from tkinter import ttk
from tkinter import *
from tkinter import messagebox
import tkinter as tk
import os
import subprocess
from tkinter import filedialog
from tkinter import font
import sys
# Modules of the src/controller files
from sqlalchemy.orm import sessionmaker
# Modules of src/model files
from sqlalchemy import *
from sqlalchemy import create_engine, ForeignKey
from sqlalchemy import Column, Date, Integer, String
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship, backref
# Main file that will start the application
file = os.path.abspath("src")
sys.path.insert(0, file)
from src.view.dictionary_app import Ventana
# We call our class and pass it the Tkinter module to load our window
window = Tk()
application = Ventana(window)
window.mainloop()