-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
31 lines (22 loc) · 786 Bytes
/
main.py
File metadata and controls
31 lines (22 loc) · 786 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
import tkinter as tk
from tkinter import filedialog
from tkinter import *
import audit_functions
def UploadAction(event=None):
filename = filedialog.askopenfilename()
print('Selected:', filename)
audit_functions.audit_transcript(filename, "ds")
root = tk.Tk()
root.configure(bg='black')
root.geometry("400x400")
root.columnconfigure(0, weight=1)
root.rowconfigure(0, weight=1)
root.title("Degree Audit Planner")
button = tk.Button(root, text='Open', command=UploadAction)
button.pack()
options = ["Traditional", "Networks and Telecomunications", "Data Science", "Cybersecurity", "Intelligent Systems", "Interactive Computing", "Systems"]
clicked = StringVar()
clicked.set("Traditional")
drop = OptionMenu( root , clicked , *options )
drop.pack()
root.mainloop()