imaplib2.py 文件源码

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

项目:ServerToolkit 作者: ianjjohnson 项目源码 文件源码
def send(self, data):
        """Send data to remote."""

        if self.compressor is not None:
            data = self.compressor.compress(data)
            data += self.compressor.flush(zlib.Z_SYNC_FLUSH)

        if bytes != str:
            self.writefile.write(bytes(data, 'utf8'))
        else:
            self.writefile.write(data)
        self.writefile.flush()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号