擅长:python、mysql、java
<p>这是一个安全功能。<code>NamedTemporaryFile</code>总是用模式<code>0600</code>创建的,硬编码在<a href="http://hg.python.org/cpython/file/63bde882e311/Lib/tempfile.py#l235">^{<cd3>}, line 235</a>,因为在使用<code>chmod</code>打开它之前,它对您的进程是私有的。没有构造函数参数来更改此行为。在</p>