plugin.py 文件源码

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

项目:flake8-html 作者: lordmauve 项目源码 文件源码
def write_images(self):
        """Write the SVG images."""
        for path in ('file.svg', 'back.svg'):
            source = pkgutil.get_data('flake8_html', 'images/' + path)
            outpath = os.path.join(self.outdir, path)
            with open(outpath, 'wb') as f:
                f.write(source)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号