Saving a temporary file.
I'm using xlwt in python to create a Excel spreadsheet. You could interchange this for almost anything else that generates a file; it's what I want to do with the file that's important. from xlwt import * w = Workbook() #... do something w.save('filename.xls') I want to I have two use cases for the file: I stream it out to the user's...