python snip