dinesh_python_report (1)
dinesh_python_report (1)
Micro-Project Proposal
Inheritance in Python
1.0 Aims/Benefits of the Micro-Project
The micro-project "Use of Inheritance in Python using Python" aims to provide a
lightweight and efficient solution for resizing images. Its benefits include streamlining image
processing tasks, optimizing file sizes for web applications, and facilitating seamless
integration into various projects. This project empowers users to easily manipulate image
dimensions, enhancing accessibility and usability in diverse applications.
Following this, the data-design phase involves planning the data structures and algorithms
necessary for efficient image resizing. The graphical user interface (GUI) design phase
focuses on creating an intuitive and user-friendly interface, considering aspects such as
layout and user interaction.
Implementation involves coding the image resizing functions in Python, utilizing libraries
like Pillow for image processing. Rigorous testing is conducted to validate the functionality
and identify potential bugs. The project is iteratively refined based on testing outcomes.
Documentation is a pivotal aspect, ensuring clear and comprehensive guidelines for users
and developers. The final phase involves deployment, making the Use of Inheritance in
Python accessible for users to streamline their image manipulation tasks. Throughout the
entire process, collaboration and feedback loops are maintained to enhance the project's
effectiveness and address any evolving requirements.
03 Editor VS Code 01
( )
Prof. S.P. Kholambe
Annexure – II
Inheritance in Python
1.0 Rationale
The Use of Inheritance in Python project holds paramount importance by providing a
versatile solution for users to efficiently resize images. Streamlining image manipulation
tasks, optimizing file sizes, and enhancing accessibility, it serves as a crucial tool for various
applications, contributing to improved efficiency and user experience.
Moreover, inheritance facilitates the organization of code into a logical hierarchy, reflecting
the relationships between different entities in a system. Superclasses typically encapsulate
more general or abstract concepts, serving as blueprints for more specialized subclasses.
This hierarchical structure enhances code comprehension and scalability, as it provides a
clear roadmap for extending and modifying the functionality of existing classes. By adhering
Inheritance also enables polymorphism, a fundamental principle of OOP that allows objects
of different classes to be treated uniformly. Polymorphism allows subclasses to override
methods inherited from superclasses, providing customized behavior while maintaining a
consistent interface. This flexibility enables developers to write code that operates on
objects of a superclass type, without needing to know the specific subclass at runtime.
Consequently, inheritance fosters modularity and extensibility, allowing for the creation of
robust, adaptable software systems.
1. Requirement Gathering:
Identified the need for a versatile Use of Inheritance in Python tool to streamline
image manipulation tasks.
Collected user requirements through surveys and feedback, emphasizing the desire
for a simple yet effective interface.
2. Function Description:
Defined the core functions of the Use of Inheritance in Python:
open_image(): Opens a file dialog for image selection and displays the chosen
image.
display_image(img): Updates the Tkinter label with the displayed image, handling
creation or update scenarios.
resize_image(): Resizes the opened image based on user-input width and height,
displaying the resized image.
3. Data Design:
Utilized the PIL library's Image class to represent and manipulate images efficiently.
Employed global variables for image and label references to ensure accessibility
across functions.
4. GUI Design:
Adopted the tkinter library for GUI development.
Planned
Sr. Planned Name of Responsible
Details of activity Finish
No. Start Date Team Member
Date
Information Gathering and Topic
1 Om Patil
Finalization
Preparing Project Proposal and
2 Om Patil
Approval
3 Implementing Project Om Patil
Dated Signature: