Python Project - Sample Report - IT
Python Project - Sample Report - IT
on
of
Assistant Professor/IT
Submitted By
THANUSH S (927623BIT120)
MAY 2024
i
M. KUMARASAMY COLLEGE OF ENGINEERING
BONAFIDE CERTIFICATE
Signature Signature
Mrs.M.MYTHILI, M.E., Dr. K.CHITIRAKALA, M.Sc.,M.Phil.,Ph.D.,
ii
DEPARTMENT OF INFORMATION TECHNOLOGY
Produce smart technocrats with empirical knowledge who can surmount the global
challenges
Create a diverse, fully-engaged, learner-centric campus environment to provide quality
education to the students
Maintain mutually beneficial partnerships with our alumni, industry, and Professional
associations
Build necessary skills required for employ ability through career development training to
meet the challenges posed by the competitive world.
PROGRAM EDUCATIONAL OBJECTIVES (PEOs)
PEO 1: Graduates will be able to solve real world problems using learned concepts pertaining to
Information Technology domain.
PEO 2: Encompass the ability to examine, plan and build innovative software Products and become
a successful entrepreneur.
PEO 3: Graduates will be able to carry out the profession with ethics, integrity, leadership and social
responsibility.
PEO 4: Graduates will be able to pursue post-graduation and succeed in academic and research
i
careers.
i
engineering community and with society at large, such as, being able to comprehend and write
effective reports and design documentation, make effective presentations, and give and receive
clear instructions.
i
11. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member
and leader in a team, to manage projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technological
change.
3. PSO 3: Successful career: Apply knowledge of theoretical computer science to assess the
hardware and software aspects of computer systems.
v
ABSTRACT
efficient contact management, implemented using a doubly linked list data structure.
The application enables users to seamlessly add, update, and delete contacts,
doubly linked list, the system ensures swift insertion, deletion, and bidirectional
and ensuring stability. The user interface is intuitively designed, allowing users to
display, search, edit, and delete contacts effortlessly. The project showcases
v
ABSTRACT WITH POs AND PSOs MAPPING
POs PSOs
ABSTRACT
MAPPED MAPPED
This project introduces a comprehensive phone
directory application designed for efficient PO1(3) PSO1(2)
contact management, implemented using a PO2(3) PSO2(3)
doubly linked list data structure. The application PO3(3) PSO3(3)
enables users to seamlessly add, update, and PO4(3)
delete contacts, providing a dynamic and user- PO5(2)
friendly interface. Leveraging the advantages of PO6(2)
a doubly linked list, the system ensures swift PO7(2)
insertion, deletion, and bidirectional traversal, PO8(1)
accommodating the evolving nature of contact PO9(2)
lists. Exception handling mechanisms enhance PO10(2)
the robustness of the application, addressing PO11(2)
unforeseen errors and ensuring stability. The PO12(2)
user interface is intuitively designed, allowing
users to display, search, edit, and delete contacts
effortlessly. The project showcases technical
proficiency in data structure implementation,
emphasizing the significance of user-centric
design and error management.
Note: 1- Low, 2-Medium, 3- High
vii
SUPERVISOR HEAD OF THE DEPARTMENT
vii
TABLE OF CONTENTS
1 Introduction
1.1 Introduction
1.2 Objective
2 Project Methodology
3 Modules
3.1 Module 1
3.2 Module 2
3.3 Module 3
5 Conclusion
References
Appendix
ix
CHAPTER 1
INTRODUCTION
1.1 Introduction
The system uses a dictionary to store information about doctors, including their
names, professions, specialties, available seats, and timings. This structured approach
allows for easy access and manipulation of doctor data. Additionally, the current date
and time in Indian Standard Time (IST) are used to timestamp appointments
accurately.
In this context, the project not only helps in organizing appointments but also
provides a practical application of data structures, time zone handling, and user
interaction in Python. The use of libraries like datetime and pytz ensures that the
appointment timings are correctly managed according to IST, making it suitable for
real-world applications in an Indian healthcare scenario.
1.2 Objective
ix
appointment or exiting the system. This interactive approach enhances user
experience and ensures smooth navigation through the application. By leveraging
Python's simplicity and versatility, developers can create intuitive interfaces that
cater to diverse user needs.
ix
CHAPTER 2
PROJECT METHODOLOGY
This segment aims to inform users about the hospital's name and address.
It involves printing the hospital name and address to provide users with
essential information.
This part of the program aims to present users with a comprehensive list of
available doctors. It includes iterating through the doctors dictionary and
displaying each doctor's name, profession, specialty, available seats, and
timings.
9
display_doctors function and prompts the user to select their preferred
doctor by entering the corresponding number. The input is then validated,
and if seats are available, the appointment is booked. The remaining seats
for the chosen doctor are updated accordingly.
3.4 Exit
CHAPTER 4
RESULTS AND DISCUSSION
4.1 Results
4.1.1 Enter Your Choice And Name
9
4.1.2 Select The Preferred Doctor
9
4.1.4 Exit
4.2 Discussion
The phone directory application, implemented using a doubly linked list,
serves as a practical and dynamic solution for managing contacts efficiently. The
choice of a doubly linked list allows for seamless insertion, deletion, and
bidirectional traversal, essential for a user-friendly contact management system. The
application encompasses key functionalities, including adding, updating, and
deleting contacts, ensuring the integrity of the contact directory. Exception handling
9
enhances the robustness of the system by addressing unforeseen errors, preventing
runtime failures, and enabling graceful recovery. The user interface provides a clear
and intuitive experience, displaying contact information and allowing users to
search, edit, and delete contacts seamlessly. This project not only showcases
proficiency in data structure implementation but also emphasizes the importance of
user-centric design and exception handling for creating a reliable and user-friendly
phone directory application.
CHAPTER 5
CONCLUSION
9
REFERENCES
18
APPENDIX
import datetime
import pytz
def display_hospital_info():
18
print(f"Welcome to {hospital_name}!")
print(f"Hospital Address: {hospital_address}\n")
def display_doctors():
print("Available Doctors:")
for num, doctor_info in doctors.items():
print(f"{num}. {doctor_info['name']} ({doctor_info['profession']},
{doctor_info['specialty']}) - {doctor_info['seats']} seats available")
print(f" Timings: {doctor_info['timings']}")
def book_appointment():
patient_name = input("Enter your name: ")
appointment_date = current_datetime_ist.strftime("%Y-%m-%d")
appointment_time = current_datetime_ist.strftime("%H:%M:%S")
display_doctors()
try:
selected_num = int(input("Enter the number of your preferred doctor: "))
if selected_num in doctors:
preferred_doctor = doctors[selected_num]["name"]
available_seats = doctors[selected_num]["seats"]
if available_seats > 0:
18
print(f"Appointment booked for {patient_name} with
{preferred_doctor} on {appointment_date} at {appointment_time}.")
doctors[selected_num]["seats"] -= 1
print(f"Remaining seats for {preferred_doctor}:
{doctors[selected_num]['seats']}")
else:
print(f"Sorry, no more seats available for {preferred_doctor}.")
else:
print("Invalid doctor number. Please choose a valid number.")
except ValueError:
print("Invalid input. Please enter a valid number.")
# Main menu
while True:
display_hospital_info()
print("Doctor-Patient Appointment System")
print("1. Book an appointment")
print("2. Exit")
choice = input("Enter your choice (1/2): ")
if choice == "1":
book_appointment()
elif choice == "2":
print("Thank you for using the appointment system. Have a great day!")
break
else:
print("Invalid choice. Please select 1 or 2.")
18