Creating file from Django <InMemoryUploadedFile>
<p>I have a couple of .xlsx files uploaded from a form within a Django website. For reasons that aren't worth explaining, I need to get a file path for these file objects as opposed to performing actions directly upon them. Tl;dr: I'd have to spend days re-writing a ton of someone else's code. </p>

<p>Is the following the best way to do this: </p>

<ol>
<li>Save objects as files</li>
<li>Get filepaths of newly created files</li>
<li>do_something()</li>
<li>Delete files</li>
</ol>

<p>Thanks.</p>