Improves python all snippet