Executing Python snippets from LaTeX