Originially based on this repo Full texlive distribution including python and pip to allow the minted package (which requires pygments) for code highlighting.
The image is available here: latex-python/
$ xelatex my-document.xtxIf you use minted, you need the shell escape flag:
$ xelatex -shell-escape my-document.xtx