Change Python Snippet