codeshot
Convert Python code to image
codeshot
是一个将Python代码转换成图片的工具
示例
转换后的代码图片
使用方式
usage: codeshot [-h] [--infile INFILE] [--outfile OUTFILE]
optional arguments:
-h, --help show this help message and exit
--infile INFILE code file to be converted to image
--outfile OUTFILE output image filepath
安装
$ pip install codeshot