Change console font in Windows

后端 未结 7 1129
闹比i
闹比i 2020-11-30 12:04

Is there a way to change the console font in Windows in python 2.6?

I\'m on Windows 7.

ie:

import os
os.console.font = \'Lucida Console\'


        
相关标签:
7条回答
  • 2020-11-30 12:39

    you might wanna check http://pypi.python.org/pypi/colorama

    0 讨论(0)
提交回复
热议问题