Self taught developer
Previously known as @yourstruly@dataterm.digital
Come hang out with me on Mastodon
Check out my blog, where I write about what I have learned
Dict keys are case sensitive in python. In your code I can see the key you’ve used has a capital M in Amarok. Maybe that’s the issue here
This is strange. I tried your snippet with your file and it works for me:
(env) ➜ testing cat x.py
from mutagen.id3 import ID3
tags = ID3("myfile.mp3")
print(tags["TXXX:FMPS_Rating_Amarok_Score"])
(env) ➜ testing python x.py
0.78
This is the best option. I recommend Nand2Tetris to everyone! It’s an incredibly well designed and executed course
Ooh, I hadn’t heard of Quarto before, but it looks really good! Thanks for mentioning it!
While jc is a great tool, and I’m definitely a fan, I believe the real solution to the overarching problem lies in a paradigm shift: see nushell
I’m from India so these numbers might be a bit weird. My yearly comp has basically gone like this from 2017 to 2023
$0.7k -> $3.6k -> $4.8k -> $20k
This is a FastAPI feature - Autogenerated documentation using Swagger.
You can turn it off by setting
docs_url=None
In your linked main.py:
app = FastAPI( title="IslabTweet", description=__doc__, docs_url="/", # change this to None to disable the docs version=VERSION, )
Hope this helps!