Finally working with python (this time for good)