This is my LaTeX gernal python formulary that can be used as appendex to other formularies.
cd <path to formulary/ folder>
git submodule add [email protected]:formularies/python/python_submodule.git
\newpage
\section*{Math Background}
\input{python_submodule/python.tex}
\graphicspath{
...
{python_submodule/figures/}
}