></pre><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span class="cm-comment"># 获取上传的文件</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span class="cm-variable">file</span> <span class="cm-operator">=</span> <span class="cm-variable">request</span>.<span class="cm-property">files</span>[<span class="cm-string">'file'</span>]</sp