Rename python snippet