cleaned python stack