add the new python snippet