Python编程:使用pygments高亮代码

参考文档:http://pygments.org/ 安装 python环境 : python3 Pygments版本:2.2.0 pip install Pygments 命令行使用 第一步: 准备代码 # -*- coding: utf-8 -*- # @Date : 2018-10-17 # @Author : Peng Shiyu def hello(): print("hell
相关文章
相关标签/搜索