Added a python snippet.