最近在做Python的PPT时发现,向PowerPoint中插入带格式的源代码甚是不便,经搜索有篇文章说的还是很管用的,可以借鉴一下:

Syntax highlighting source code in Word and PowerPoint

能导出格式的编辑器就比较多了,我用的Notepad++