From 9b154d5c06ed6619e221a76a187c04e411a758c5 Mon Sep 17 00:00:00 2001 From: jatinkumar987 Date: Sat, 1 Jul 2023 11:27:16 +0530 Subject: [PATCH 1/2] Modifications to README --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a499cca..19f18db 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,44 @@ # Learning-Object-Oriented-Python -![](https://www.codetriage.com/josharsh/learning-object-oriented-python/badges/users.svg) -This repository walks you through the Object Oriented Programming in python. Illustrates real world examples, working codes and going about finding a coding solution. +### Introduction + +In this project, we delve into the world of Object-Oriented Python and explore its concepts and implementation. By leveraging the power of classes, inheritance, and polymorphism, we gain a deeper understanding of how to design and build robust, reusable code. + +### Installation + +To get started, follow these steps to set up the project: + +1. Clone the repository: `git clone https://github.com/your-username/Learning-Object-Oriented-Python.git` +2. Navigate to the project directory: `cd Learning-Object-Oriented-Python` +3. Create a virtual environment: `python -m venv venv` +4. Activate the virtual environment: + - For Windows: `venv\Scripts\activate.bat` + - For macOS/Linux: `source venv/bin/activate` +5. Install the project dependencies: `pip install -r requirements.txt` + +### Usage + +Once you have the project set up, you can explore the various modules and examples provided. The `examples` directory contains practical demonstrations of Object-Oriented Python concepts, while the `modules` directory houses reusable classes and utilities. + +Feel free to experiment, modify the code, and apply your own ideas. Don't forget to document your changes and contributions to the project. + +### Contributing + +We welcome contributions from the community to enhance the Learning-Object-Oriented-Python project. If you'd like to contribute, please follow these steps: + +1. Fork the repository on GitHub. +2. Create a new branch for your feature/bug fix: `git checkout -b feature/your-feature-name`. +3. Make your modifications and ensure all tests pass. +4. Commit your changes: `git commit -m "Add your commit message here"`. +5. Push the branch to your fork: `git push origin feature/your-feature-name`. +6. Open a pull request on the main repository, explaining your changes and their benefits. + +### Resources + +We've curated a list of additional resources to help you further explore Object-Oriented Python: + +- [Python Classes and Objects - GeeksforGeeks](https://www.geeksforgeeks.org/python-classes-and-objects/) +- [Object-Oriented Programming (OOP) in Python 3 - Real Python](https://realpython.com/python3-object-oriented-programming/) +- [Python Classes and Object-Oriented Programming - Python.org](https://docs.python.org/3/tutorial/classes.html) + +If you have any questions or need assistance, please don't hesitate to reach out to our community. Happy coding! From 96dd88147010561ebf8349e1b40a20bf134cb523 Mon Sep 17 00:00:00 2001 From: jatinkumar987 Date: Sat, 1 Jul 2023 11:46:34 +0530 Subject: [PATCH 2/2] Modification in README file --- README.md | 58 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 19f18db..0831533 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,52 @@ # Learning-Object-Oriented-Python ### Introduction -In this project, we delve into the world of Object-Oriented Python and explore its concepts and implementation. By leveraging the power of classes, inheritance, and polymorphism, we gain a deeper understanding of how to design and build robust, reusable code. +## Object-Oriented Programming in Python -### Installation +Welcome to this repository that serves as a comprehensive guide to Object-Oriented Programming (OOP) in Python. Here, you will find a collection of real-world examples, working code samples, and practical strategies for solving coding challenges. -To get started, follow these steps to set up the project: +### Introduction + +Object-Oriented Programming is a fundamental concept in Python, and this repository aims to provide you with a clear understanding of its principles and implementation. By exploring practical scenarios and demonstrating effective coding solutions, we enable you to apply OOP techniques confidently in your projects. + +### Contents + +This repository covers a wide range of topics related to Object-Oriented Programming in Python, including: -1. Clone the repository: `git clone https://github.com/your-username/Learning-Object-Oriented-Python.git` -2. Navigate to the project directory: `cd Learning-Object-Oriented-Python` -3. Create a virtual environment: `python -m venv venv` -4. Activate the virtual environment: - - For Windows: `venv\Scripts\activate.bat` - - For macOS/Linux: `source venv/bin/activate` -5. Install the project dependencies: `pip install -r requirements.txt` +- Class creation and inheritance +- Encapsulation and data hiding +- Polymorphism and method overriding +- Abstract classes and interfaces +- And Many More -### Usage +### Getting Started -Once you have the project set up, you can explore the various modules and examples provided. The `examples` directory contains practical demonstrations of Object-Oriented Python concepts, while the `modules` directory houses reusable classes and utilities. +To get started with this repository, follow these steps: -Feel free to experiment, modify the code, and apply your own ideas. Don't forget to document your changes and contributions to the project. +1. Clone the repository to your local machine: `git clone https://github.com/josharsh/Learning-Object-Oriented-Python.git` +2. Explore the different directories and modules to grasp the various OOP concepts. +3. Dive into the examples folder to examine real-world scenarios and their corresponding code implementations. -### Contributing +### Contributions -We welcome contributions from the community to enhance the Learning-Object-Oriented-Python project. If you'd like to contribute, please follow these steps: +Contributions to this repository are highly appreciated. If you have any valuable insights, bug fixes, or additional examples to share, please feel free to contribute by following these steps: 1. Fork the repository on GitHub. -2. Create a new branch for your feature/bug fix: `git checkout -b feature/your-feature-name`. -3. Make your modifications and ensure all tests pass. +2. Create a new branch for your contribution: `git checkout -b feature/your-contribution`. +3. Implement your changes or additions. 4. Commit your changes: `git commit -m "Add your commit message here"`. -5. Push the branch to your fork: `git push origin feature/your-feature-name`. -6. Open a pull request on the main repository, explaining your changes and their benefits. +5. Push the branch to your fork: `git push origin feature/your-contribution`. +6. Open a pull request on the main repository, providing a detailed description of your contribution. -### Resources +### Additional Resources -We've curated a list of additional resources to help you further explore Object-Oriented Python: +If you want to expand your knowledge of Object-Oriented Programming in Python, here are some recommended resources: -- [Python Classes and Objects - GeeksforGeeks](https://www.geeksforgeeks.org/python-classes-and-objects/) -- [Object-Oriented Programming (OOP) in Python 3 - Real Python](https://realpython.com/python3-object-oriented-programming/) -- [Python Classes and Object-Oriented Programming - Python.org](https://docs.python.org/3/tutorial/classes.html) +- [Python OOP Tutorial - Real Python](https://realpython.com/python3-object-oriented-programming/) +- [Object-Oriented Programming (OOP) in Python - Programiz](https://www.programiz.com/python-programming/object-oriented-programming) +- [Understanding Class Inheritance in Python - Real Python](https://realpython.com/inheritance-composition-python/) +- [Python Design Patterns - Tutorialspoint](https://www.tutorialspoint.com/python_design_patterns/index.htm) -If you have any questions or need assistance, please don't hesitate to reach out to our community. Happy coding! +Feel free to explore these resources to deepen your understanding and enhance your OOP skills. +Happy coding and enjoy your journey into Object-Oriented Programming with Python! \ No newline at end of file