kiwifax.py 文件源码

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

项目:kiwiclient 作者: dev-zzo 项目源码 文件源码
def _flush_rows(self):
        if not self._rows:
            return
        while True:
            with open(self._output_name + '.png', 'wb') as fp:
                try:
                    png.Writer(len(self._rows[0]), len(self._rows), greyscale=True).write(fp, self._rows)
                    break
                except KeyboardInterrupt:
                    pass
        # DUMP POINT
        if self._options.dump_histo:
            dump_to_csv(self._output_name + '-hh.csv', self._histoa.get(), 'w')
            dump_to_csv(self._output_name + '-hh.csv', self._histob.get(), 'a')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号