How rasha-khalid/python_assignment works
This repository contains two independent command-line employee-management implementations and a separate number-guessing game. The primary employee workflow is menu selection in employees.py, which dispatches to functions in EmpFunctions.py to validate input, operate on in-memory employee records, and display lists, search results, or summaries. employees_sysmanagement.py implements a second standalone employee manager with its own in-memory state and CRUD, search, and sorting. The README is empty; these relationships are based on the supplied source excerpts.
Main entry points: EmpFunctions.py Employee operations · employees_sysmanagement.py Management menu · employees.py Employee menu · first_assignment.py Guessing game
Components 15
Employee functions app
- Employee menu
employees.py - Employee operations
EmpFunctions.py - Employee records
EmpFunctions.py - Input validation
EmpFunctions.py - List and search
EmpFunctions.py - Add, update, delete
EmpFunctions.py - Department and tenure
EmpFunctions.py
Employee class app
- Management menu
employees_sysmanagement.py - Employee model
employees_sysmanagement.py - Employee records
employees_sysmanagement.py - Search and sort
employees_sysmanagement.py - Employee CRUD
employees_sysmanagement.py
Guessing game
- Guessing game
first_assignment.py
Other components
- User
- Random number source
Connections 19
- User → Employee menu: chooses actions
- Employee menu → Employee operations: dispatches menu choices
- Employee operations → Input validation: requests validated input
- Employee operations → Add, update, delete: dispatches CRUD
- Employee operations → List and search: dispatches listing and search
- Employee operations → Department and tenure: dispatches summaries
- Input validation → Employee records: checks identifiers
- Add, update, delete → Employee records: adds, updates, deletes
- List and search → Employee records: reads records
- Department and tenure → Employee records: reads records
- User → Management menu: chooses actions
- Management menu → Employee CRUD: dispatches CRUD
- Management menu → Search and sort: dispatches search and sort
- Management menu → Employee model: calls employee operations
- Employee model → Employee records: creates and tracks records
- Employee CRUD → Employee records: updates and deletes
- Search and sort → Employee records: reads and sorts records
- User → Guessing game: guesses number
- Random number source → Guessing game: provides random number