When working with records or data transfer objects (DTO), all that you need
is a bunch of data members grouped together into a class. In Python, that
can be easily achieved using an empty class definition:
1
2
3
4
5
6
7
8
9
10
11
class Element:
'''Represents an element in the periodic table.'''