stuff I add to my document preamble to make my life easier.
heres how to use the commands
\pic{path/to/image.png}{some nice caption text}{fig:image_example}
\oscpic{path/to/image.png}{some nice caption text}{fig:image_example}
\vspace{2.5mm}
\begin{figure}
\subpic{path/to/image.png}{some nice caption text}{fig:image_example}
\subpic{path/to/image2.png}{some nice caption text}{fig:image2_example}
\end{figure}
\vspace{2.5mm}
\inputpython{path/to/code.py}{caption about the script}{code:label}