Update python snippets to use "as" exception form; add python "from" snippet.