11 Object-based solution design

Image

What you will learn

In the previous chapter, we discovered how to create genuinely useful objects. We saw how to use Python to create classes that can hold and manage data values and provide methods that allow programs to make use of them.

In this chapter, we’ll build on our class knowledge to learn how to build systems that work with large numbers of different, but related data items. We’ll also explore how we can connect objects via the methods they expose. Alongside all this, we’ll discover more features and functions of Python, including sets.

Fashion Shop application

Create a FashionShop component

Design ...

Get Begin to Code with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.