Create A Python Clip Function