(Thu Sep 26 2019 00:00:00 GMT+0300 (Eastern European Summer Time)) Python classes allow programmers to define new data types to use in their programs. They act like a blueprint with which a program creates objects. Objects can contain both methods and attributes, giving us a useful higher-level abstraction over the built-in Python data types.