random python snippets