I would like to pass "variables" to my code.
Minimal example (example.tex):
\documentclass{article}
\usepackage[usefamily=bash]{pythontex}
\begin{document}
\bash|echo "\jobname"|
\end{document}
Execute pdflatex -shell-escape example.tex.
Seen content of example-minimal.pytxcode:
=>PYTHONTEX#bash#default#default#0#i#####4#
echo "\jobname"
Expected content of example-minimal.pytxcode:
=>PYTHONTEX#bash#default#default#0#i#####4#
echo "example.tex"
Background: I want to port my plantuml package from plain lua to pythontex to a) support pdflatex and b) to make use of the caching capabilities of it.