Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion MAIN.PY
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ else:
win.wm_iconbitmap("@logo.xbm")
Label(win,text="Employee Management System",bg="brown",fg="white",font=("Georgia",16)).pack(pady=10)
b1=Button(win,text="Show all Records",bg="white",fg="brown",border=5,relief="raise",font=("Georgia",13),width=20,command=showall)
b1.pack(pady=8)
b2=Button(win,text="Add Record",bg="white",fg="brown",border=5,relief="raise",font=("Georgia",13),width=20,command=addrec)
b2.pack(pady=8)
b3=Button(win,text="Search Records",bg="white",fg="brown",border=5,relief="raise",font=("Georgia",13),width=20,command=searchrec)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
![ICON](/logo.ico)
![ICON](/logo1.ico)
*Employee Management System
---

Expand Down
1 change: 1 addition & 0 deletions Test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hlo
4 changes: 2 additions & 2 deletions addrecord.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def main():
win.geometry("300x250")
win.config(bg="orange")
if "nt" == os.name:
win.wm_iconbitmap("logo.ico")
win.wm_iconbitmap("logo.ico")
else:
win.wm_iconbitmap("@logo.xbm")
win.wm_iconbitmap("@logo.xbm")
win.resizable(0,0)
eid=StringVar()
name=StringVar()
Expand Down
2 changes: 1 addition & 1 deletion delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def press(e):
if u=="Select Emp. Code":
messagebox.showinfo("CSV","Please Select Emp. Code")
if repr(e.keycode)==67:
close()
close()
elif len(u)>0 :
if repr(e.keysym)=="'Return'":
find()
Expand Down
Binary file modified logo.ico
Binary file not shown.
6 changes: 3 additions & 3 deletions logo.xbm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define 2838_c807254cfd60f6765186f07a3df3e0e8a763c6c6be6b6817e539af5e0c1a2098_width 32
#define 2838_c807254cfd60f6765186f07a3df3e0e8a763c6c6be6b6817e539af5e0c1a2098_height 32
static char 2838_c807254cfd60f6765186f07a3df3e0e8a763c6c6be6b6817e539af5e0c1a2098_bits[] = {
#define 2f995743a8424c57b11fc3b80f5a9442MruGsXSbWAVRoHkX_width 32
#define 2f995743a8424c57b11fc3b80f5a9442MruGsXSbWAVRoHkX_height 32
static char 2f995743a8424c57b11fc3b80f5a9442MruGsXSbWAVRoHkX_bits[] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xAD, 0xFD, 0xFF, 0xFF, 0xFA, 0xFF, 0xFF, 0xFF, 0xEF, 0xFF, 0xFF,
0xFF, 0xBA, 0xDB, 0xFF, 0x5F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xEF, 0xFF,
Expand Down
2 changes: 1 addition & 1 deletion records.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SM01,Anurag Chaudhary,Sales,65k
CM01,Lakshay Bhardwaj,Management,85k
CS01,Vaibhav Kumar,Cyber Security,70k
SM02,Beeple Crap,Sales,68k
PM01,Kirti Chow,Project Leader,80k
AD01,Shwetabh Gangwar,App Development,68k
SM01,Anurag Chaudhary,Sales,65k
6 changes: 3 additions & 3 deletions searchrec.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def press(e):
if u=="Select Emp. Code":
messagebox.showinfo("CSV","Please Select Emp. Code")
if repr(e.keycode)==67:
close()
close()
elif len(u)>0 :
if repr(e.keysym)=="'Return'":
find()
Expand All @@ -43,9 +43,9 @@ def main():
win.geometry("350x80")
win.config(bg="orange")
if "nt" == os.name:
win.wm_iconbitmap("logo.ico")
win.wm_iconbitmap("logo.ico")
else:
win.wm_iconbitmap("@logo.xbm")
win.wm_iconbitmap("@logo.xbm")
win.resizable(0,0)
eid=StringVar()
name=StringVar()
Expand Down
7 changes: 7 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
def message():
print("Hello World")
a=input()
if (a=="c"):
messaged()
else:
print("Nothing")