Add python snippet.