Search
- Filter Results
- Location
- Classification
- Include attachments
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.06%3A_Chapter_SummaryThis page provides an overview of object-oriented programming basics, focusing on data abstraction and encapsulation. It explains class definitions, instance creation, the __init__() method, instance ...This page provides an overview of object-oriented programming basics, focusing on data abstraction and encapsulation. It explains class definitions, instance creation, the __init__() method, instance versus class attributes, the self parameter, and magic methods. Additionally, it covers operator overloading and module imports, equipping readers with essential skills for effectively managing classes in Python.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_InheritanceThis page offers a comprehensive overview of inheritance in programming, detailing fundamental concepts such as attribute access, methods, hierarchical inheritance, and multiple inheritance with mixin...This page offers a comprehensive overview of inheritance in programming, detailing fundamental concepts such as attribute access, methods, hierarchical inheritance, and multiple inheritance with mixin classes, along with a summary of the key topics covered.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_Inheritance/13.00%3A_IntroductionThis page explains inheritance in object-oriented programming, highlighting how it creates relationships between classes by allowing a class to be a subtype of another. This mechanism enables classes ...This page explains inheritance in object-oriented programming, highlighting how it creates relationships between classes by allowing a class to be a subtype of another. This mechanism enables classes to inherit attributes and methods, reducing redundancy and promoting modularity in code design.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.02%3A_Classes_and_InstancesThis page explains the creation and utilization of classes in Python, focusing on the significance of instance attributes, class attributes, and the __init__() method. It describes how classes act as ...This page explains the creation and utilization of classes in Python, focusing on the significance of instance attributes, class attributes, and the __init__() method. It describes how classes act as blueprints for objects that symbolize real-world entities and provides examples of defining classes and creating instances. A clear distinction between instance and class attributes is made, alongside practical exercises to enhance understanding.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_Inheritance/13.02%3A_Attribute_AccessThis page outlines learning objectives for implementing subclasses in Python, detailing how they can inherit attributes from superclasses and define instance attributes in their `__init__()` method. I...This page outlines learning objectives for implementing subclasses in Python, detailing how they can inherit attributes from superclasses and define instance attributes in their `__init__()` method. It includes examples of subclass creation, attribute access, and display method modification. The page also offers practical exercises that encourage readers to apply these concepts, specifically through the Dessert and Cupcake example.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.01%3A_String_OperationsThis page outlines learning objectives for string manipulation in Python, including the use of logical and membership operators for string comparison. It introduces string methods such as lower() and ...This page outlines learning objectives for string manipulation in Python, including the use of logical and membership operators for string comparison. It introduces string methods such as lower() and upper() for case conversion and includes examples and practical exercises for application. Overall, it provides foundational knowledge of string operations in Python.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.12%3A_Chapter_13This page outlines key inheritance concepts in programming, including "is-a" and "has-a" relationships, class hierarchy, and method overriding. It discusses attribute access in subclasses, hierarchica...This page outlines key inheritance concepts in programming, including "is-a" and "has-a" relationships, class hierarchy, and method overriding. It discusses attribute access in subclasses, hierarchical and multiple inheritance, and best practices for defining classes and naming mixins. Examples illustrate class structures and behaviors in an object-oriented system.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.00%3A_IntroductionThis page covers Python string methods that enable effective processing of string values, including comparison, slicing, searching, testing, formatting, and modifying character sequences.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.10%3A_Chapter_11This page provides an overview of object-oriented programming, highlighting classes, instances, and methods. It explains how objects represent real-world entities and emphasizes encapsulation and clas...This page provides an overview of object-oriented programming, highlighting classes, instances, and methods. It explains how objects represent real-world entities and emphasizes encapsulation and class name formatting. It covers instance attributes, constructors, and instance methods' behavior, as well as magic methods for operator overloading. The text also touches on module usage and naming conventions to enhance code clarity and reusability.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.00%3A_IntroductionThis page discusses how programmers use classes to represent real-world entities as objects, facilitating better design and organization in programming. It explains that a class specifies an object's ...This page discusses how programmers use classes to represent real-world entities as objects, facilitating better design and organization in programming. It explains that a class specifies an object's type, attributes, and methods, enabling multiple instances' creation. The use of classes enhances code reusability and offers benefits like data abstraction and encapsulation, improving overall usability and extensibility.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_ClassesThis page provides a structured guide on Object-Oriented Programming (OOP), detailing key concepts like classes, instances, methods, and operator overloading. It includes discussions on the integratio...This page provides a structured guide on Object-Oriented Programming (OOP), detailing key concepts like classes, instances, methods, and operator overloading. It includes discussions on the integration of modules with classes, culminating in a chapter summary that offers a thorough pathway for learning OOP fundamentals.