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
相關文章
相關標籤/搜索