python code clip