📜  获取终端大小 python 代码示例

📅  最后修改于: 2022-03-11 14:47:12.579000             🧑  作者: Mango

代码示例2
from os import get_terminal_size

size = get_terminal_size() # Columns, Lines