-
Notifications
You must be signed in to change notification settings - Fork 0
/
expertsyfungi.py
41 lines (29 loc) · 1.02 KB
/
expertsyfungi.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
from experta import*
#import tkinter
from tkinter import*
from PIL import ImageTk, Image
raiz = Tk()
raiz.title("Sistema Experto Fungi")
raiz.geometry('933x700')
frame = Frame(master = raiz, width = 933, height=700, bg="white")
frame.pack()
frame.propagate(0)
#frame.config(width = 933, height=700, bg="white")
imagen1 = PhotoImage(file="Imagenes/Principal.png")
imagen1.config(width =933, height=750)
#lb_imagen = Label(master = frame, image=imagen1).place(x=0, y=0)
labelx = Label(master = frame, image=imagen1)
labelx.place(x=0, y=0)
labelx.pack(side="bottom", fill="both", expand="yes")
#labelx.pack()
label2 = Label(master=labelx,text="Bienvenido a UPFungi" )
label2.config(bg="white",fg="black", font=("Bookman Old Style", 40, "bold"))
label2.pack(expand=0, fill=Y)
label3 = Label(master = labelx, text="Es prueba del segundo Label")
label3.pack()
print(type(labelx))
#label_usuario = Label(frame, text="Ingrese su usuario")
#label_usuario.grid_propagate(False)
#label_usuario.grid(row=1, column=0)
#frame.pack()
raiz.mainloop()