▲ 16 ▼ Help trying to extract some data (lemmy.tf) submitted 2 years ago by sabreW4K3@lemmy.tf to c/python@programming.dev 8 comments fedilink hide all child comments In my file, I have from mutagen.id3 import ID3 tags = ID3(mp3_file) Now if I do print(tags.keys()) It informs me that there's a TXXX:FMPS_Rating_Amarok_Score But when I attempt to print(tags["TXXX:FMPS_Rating_Amarok_Score"]) It says there's a KeyError. What am I doing wrong?
[–] sabreW4K3@lemmy.tf [S] 1 point 2 years ago Thanks that was really helpful permalink fedilink source parent