Hi! im trying to create an object in python, but when i try to call the length of that object, it says "Mp3tag instance has no attribute '__len__'"
i know i can define a method on the "object"(i dont know if im creating the object in the right way) called __len__, but what code should i put inside?
class Mp3tag: error = "" date = "" trackNumber = "" artist = "" title = "" album = "" genre = "" numFiles = ""
maybe im creating the object in a wrong way, i googled over the internet but i never found something that explains how to create the objects
tnx and sorry about my poor english