def get_metadata(self, file): """ Gets metadata from the file and return it in String form. """ global reader_ reader_ = MetaReader(file) data = reader_.get_dict() text = "" for key, value in data.items(): text += "{} : {}\n".format(key, value) return text
def __init__(self, readers, panda): MetaReader.__init__(self, readers) self.panda = panda
def __init__(self, readers, filepath): MetaReader.__init__(self, readers) self.filepath = filepath self.root = None self.dirty = True