def new_header(self, version=ID3V2_DEFAULT_VERSION):

        if version not in self.supported:
            raise ID3ParameterException("version %s not supported" % str(version))
        
        self.tag = {}
        if str(version) in self.supported:
            self.version = str(version)
        else:
            raise ID3NotImplementedException("Version %s not supported", \
                                             str(version))

        if self.version in ('2.4', '2.3'):
            self.tag["ext"] = 0
            self.tag["exp"] = 0
            self.tag["footer"] = 0
        elif self.version == '2.2':
            self.tag["compression"] = 0
            
        self.tag["unsync"] = 0
        self.tag["size"] = 0
        self.frames = []
        
    # ---------------------------------------------------------
Create a new default ID3v2 tag data structure
dataset/ETHPy150Open Ciantic/pytagger/tagger/id3v2.py/ID3v2.new_header