I am working with a finite list of "objects" which I will be using in my small script:
books = [
{'name': 'Book1': 'id', '123', 'text', '.....'},
{'name': 'Book2': 'id', '123', 'text', '.....'},
{'name': 'Book3': 'id', '123', 'text', '.....'},
]
Does it make sense to create a class for this book type, or is it fine the way it is?
The problem with creating a class is that there would be slightly more boiler-plate.