-
Notifications
You must be signed in to change notification settings - Fork 1
/
helpdesk.py
38 lines (27 loc) · 949 Bytes
/
helpdesk.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
from tkinter import*
from tkinter import ttk
from PIL import Image, ImageTk
from tkinter import messagebox
import mysql.connector
import cv2
import webbrowser
class Help:
def __init__(self, root):
self.root=root
self.root.geometry("1530x790+0+0")
self.root.title("Face Recongnition System")
title_lbl=Label(self.root,text="DEVELOPER",font=("Sketchy In Snow", 35,"bold"),bg="darkgreen",fg="red")
title_lbl.place(x=0,y=0,width=1530,height=45)
#Image in top bar
img_top=Image.open(r"D:\machine\img\helpDesk.jpeg")
img_top=img_top.resize((1530,720),Image.ANTIALIAS)
self.photoimg_top=ImageTk.PhotoImage(img_top)
#Mail label
f_lbl=Label(self.root,image=self.photoimg_top)
f_lbl.place(x=0,y=55,width=1530,height=720)
dev_label=Label(f_lbl,text="haweepalash@gmail.com",font=("times new roman",15,"bold"),bg="white")
dev_label.place(x=550,y=220)
if __name__=="__main__":
root=Tk()
obj=Help(root)
root.mainloop()