Separator python snippet