Python part of my Master Thesis