Python - When to create a Class and when to create a Function
问题 Right, so I'm trying to create a Contacts application using Python OOP. I'm fairly new to OOP and still trying to get my head around the concepts. I understand that a Class is a blueprint for all objects. I like to think of a Class as an entity and each Object is a record of that entity. I am from a Database background so that's why I interpret it like this, feel free to correct me. Anyways, in the Contacts app I'm making I've created the Class Contacts as outlined below: class Contacts():