stats + python snippets