Professional Documents
Culture Documents
COURSE:
PYTHON
PROJECT:
EMPLOYEE MANAGEMENT SYSTEM
TITTLE PAGE NO
S.NO
1 INTRODUCTION 1
2 ABSTRACT 2
3 UPDATE DETAILS 6
4 DELETE DETAILS 8
5 CLEAR DETAILS 10
6 DATA CONECTIVITY 12
7 CONCLUSION 15
INTRODUCTION
1
ABSTRACT
The Employee Management System is a software application developed
using the Tkinter library in Python. It aims to provide a user-friendly
interface for managing employee information within an organization.
The system allows administrators to perform various tasks, such as
adding new employees, updating their details, and generating
reports.The graphical user interface (GUI) is designed using Tkinter, a
popular Python library for creating desktop applications. Tkinter
provides a set of widgets and tools that facilitate the development of
interactive interfaces. The system leverages these capabilities to create
a visually appealing and intuitive user experience
2
HOME PAGE
3
ADD DETAILS
If click the “Add details”:
THEORY:
4
Program:
add_employee():
return
clearAll()
displayAll()
5
UPDATE DETAILS
If click the “Update details”:
THEORY:
6
Program:
update_employee():
return
clearAll()
displayAll()
7
DELETE DETAILS
If click the on“Delete details”:
THEORY:
8
Program:
delete_employee():
db.remove(row[0])
clearAll()
displayAll()
9
CLEAR DETAILS
If click the on “Clear details”:
THEORY:
clearAll():
name .set("")
age .set("")
doj .set("")
gender .set("")
email .set("")
contact .set("")
txtAddress.delete(1.0,END)
11
DATA CONNECTIVITY
Data Connectivity Picture:
THEORY:
class Database:
self.con = sqlite3.connect(db)
self.cur = self.con.cursor()
sql = """
name text,
age text,
doj text,
email text,
gender text,
contact text,
address text
self.cur.execute(sql)
self.con.commit()
# Insert Function
13
self.con.commit()
def fetch(self):
rows = self.cur.fetchall()
#print(rows)
return rows
# Delete a Record in DB
self.con.commit()
# Update a Record in DB
def update(self, id, name, age, doj, email, gender, contact, address):
self.cur.execute(
"update employees set name=?, age=?, doj=?, email=?, gender=?, contact=?, address=?
where id=?",
self.con.commit()
14
CONCLUSION
15