Repository navigation
Expand file tree
/
Copy pathtab.py
More file actions
92 lines (45 loc) · 2.04 KB
/
Copy pathtab.py
File metadata and controls
92 lines (45 loc) · 2.04 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
from tkinter import *
from PIL import ImageTk, Image
import os
gui= Tk()
gui.geometry("1000x500")
b=Label(gui,text="ID").place(x=10, y=10)
c=Label(gui,text="1").place(x=10, y=60)
c=Label(gui,text="2").place(x=10, y=150)
c=Label(gui,text="3").place(x=10, y=250)
c=Label(gui,text="4").place(x=10, y=350)
b=Label(gui,text="Name").place(x=40, y=10)
c=Label(gui,text="John").place(x=40, y=60)
c=Label(gui,text="Mohit").place(x=40, y=150)
c=Label(gui,text="Jenny").place(x=40, y=250)
c=Label(gui,text="Sam").place(x=40, y=350)
b=Label(gui,text="Age").place(x=90, y=10)
c=Label(gui,text="27").place(x=90, y=60)
c=Label(gui,text="22").place(x=90, y=150)
c=Label(gui,text="25").place(x=90, y=250)
c=Label(gui,text="24").place(x=90, y=350)
b=Label(gui,text="Post").place(x=150, y=10)
c=Label(gui,text="CEO").place(x=150, y=60)
c=Label(gui,text="Engineer").place(x=150, y=150)
c=Label(gui,text="Admin").place(x=150, y=250)
c=Label(gui,text="Designer").place(x=150, y=350)
b=Label(gui,text="Employee_ID").place(x=200, y=10)
c=Label(gui,text="EMP_001").place(x=210, y=60)
c=Label(gui,text="EMP_054").place(x=210, y=150)
c=Label(gui,text="EMP_023").place(x=210, y=250)
c=Label(gui,text="EMP_012").place(x=210, y=350)
b=Label(gui,text="Gender").place(x=275, y=10)
c=Label(gui,text="Male").place(x=275, y=60)
c=Label(gui,text="Male").place(x=275, y=150)
c=Label(gui,text="Female").place(x=275, y=250)
c=Label(gui,text="Male").place(x=275, y=350)
b=Label(gui,text="Picture").place(x=340, y=10)
img = ImageTk.PhotoImage(Image.open("c.jpg"))
L1= Label(gui, image = img,width=76,height=95).place(x=340, y=40)
img1 = ImageTk.PhotoImage(Image.open("m.jpg"))
L2= Label(gui, image = img1,width=76,height=95).place(x=340, y=140)
img2 = ImageTk.PhotoImage(Image.open("j.jpg"))
L2= Label(gui, image = img2,width=76,height=95).place(x=340, y=240)
img3 = ImageTk.PhotoImage(Image.open("s.jpg"))
L2= Label(gui, image = img3,width=76,height=95).place(x=340, y=340)
gui.mainloop()