files.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:archive-Holmes-Totem-Service-Library 作者: HolmesProcessing 项目源码 文件源码
def __enter__(self):
        """
        Create the temporary file in memory first, when it uses too much memory
        it is automatically relocated to the filesystem.
        """
        self.file = tempfile.SpooledTemporaryFile(max_size=self.max_size)
        return self.file
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号