Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 2.15 KB

README.md

File metadata and controls

91 lines (69 loc) · 2.15 KB

Employee Management System

Overview

This is a simple Employee Management System implemented in Python. It allows you to add, view, search, and delete employee details, such as name, ID, and salary.

Features

  • Add Employee: Add a new employee by providing their name, ID, and salary.
  • View Employees: View a list of all employees with their details.
  • Search Employee: Search for an employee by their ID.
  • Delete Employee: Delete an employee's record by their ID.

Installation

  1. Clone the repository:
    git clone https://github.com/TejasPoojari02/employee-management-system.git
  2. Navigate to the project directory:
    cd EMS

Usage

  1. Run the script:
    python EMS.py
  2. Follow the on-screen prompts to manage employee records.

Example

Here's an example of how to use the system:

  1. Add an Employee:
    Enter choice: 1
    Enter Employee ID: 101
    Enter Employee Name: John Doe
    Enter Employee Salary: 50000
    
  2. View Employees:
    Enter choice: 2
    
    Output:
    ID: 101, Name: John Doe, Salary: 50000
    
  3. Search for an Employee:
    Enter choice: 3
    Enter Employee ID to search: 101
    
    Output:
    ID: 101, Name: John Doe, Salary: 50000
    
  4. Delete an Employee:
    Enter choice: 4
    Enter Employee ID to delete: 101
    
    Output:
    Employee with ID 101 has been deleted.
    

Code Structure

  • EMS.py: Main script file containing the logic for the Employee Management System.
  • 'searchengine.py': Script file containing the search engine and logic for the Employee Management System

Contributing

If you would like to contribute to this project, please fork the repository and create a pull request with your changes.

Contact

If you have any questions or suggestions, feel free to contact me at [email protected].


Note: This is a simple implementation intended for learning purposes. For a production-level application, additional features and security measures should be implemented.


Enjoy managing your employees!