【发布时间】:2019-06-16 10:34:16
【问题描述】:
我正在尝试使用模块 pyfiglet 和 termcolor 在终端中使用 python3 打印一些 ascii 文本艺术,我想知道是否有办法修改打印的 ascii 文本的大小。 现在我正在使用此代码打印 ascii 艺术文本:
from termcolor import colored, cprint
from pyfiglet import figlet_format
color = 'yellow'
cprint(figlet_format('Ascii text'), color)
【问题讨论】:
标签: python-3.x termcolor