The Jupyter Notebook idea is actually quite nice, I might do that as well.
I have an app called OpenFoodFacts that allow me to scan the barcode of the food I buy to check for many things, including the kcal amount.
For the gyms, this is not my cup of tea. I'm a bit of an hermit and like the comfort of my home, so the exercising will have to be done at home. But I'm sure they have plenty of tips for that, I will look more into it. Thank you :)
For general fat loss advice, I find Renaissance Periodization helpful: https://www.youtube.com/watch?v=EsNeZjjOOl4&list=PLyqKj7LwU2.... There's also https://www.hornstrength.com/radicallysimplefatloss.
You may want to combine fat loss with strength training for better results. My favorite information source on this is Starting Strength: https://www.youtube.com/playlist?list=PLNhFKPjedRnQ_qs4ID5gl..., also see https://startingstrength.com/about. If you live in the US, Munich, Brussels or some parts of Asia, you could find one of their gyms at https://coaching.startingstrength.com/.