In this chapter, we will discuss data types and object-oriented programming (OOP) in Python. We will discuss data types including lists, dictionaries, tuples and sets in Python. We will also discuss OOP, it's necessity and how to write object-oriented code in Python for Raspberry Pi based projects (such as, using OOP to control appliances at home). We will discuss making use of OOP in a Raspberry Pi Zero project.