【发布时间】:2021-01-20 02:31:56
【问题描述】:
我想知道是否有一个库/shell 命令可以使你的 python 窗口居中。
例如,
os.system('title TITLE HERE && mode con:cols=100 lines=40')
创建一个具有指定高度和标题的控制台窗口。 os.system 只是运行一个 shell 命令。
是否有一个 shell 命令可以使窗口居中?
【问题讨论】:
标签: python shell console window os.system