I'm writing a scientific proposal and I have a .exe Python script to copy, timestamp and put into a directory.
I want to use this .exe whenever I compile. From a logic point of view, this would be at the end of the main.tex, but before \end{document}.
Is there a way I can have LaTeX run this .exe?