Transforming Code into Beautiful Idiomatic Python