Using Python’s tempfile module

Recently at work, I had to write a tool that processes files uploaded by our tutorial writers. I needed to build something that could read multiple files, manipulate the data in the files and produce output files based on the results of manipulating the data. Each of the output files produced during the script’s execution …