Modify font size when print out to screen

后端 未结 3 1727
醉话见心
醉话见心 2021-01-23 05:14

I\'m using Win XP and Python 2.5. Is there a way in Python to modify font size when print to CMD window?

3条回答
  •  没有蜡笔的小新
    2021-01-23 05:49

    You can use ctypes to access the necessary windows calls to change the font (including the size of the font) of the console. See my answer to another question for a code example.

提交回复
热议问题