python设置打开的windows CMD终端始终处于激活状态避免终端没操作时卡住
import ctypes
kernel32 = ctypes.windll.kernel32
kernel32.SetConsoleMode(kernel32.GetStdHandle(-10), 128)
posted on 2022-04-13 11:19  DuoRuaiMi4567  阅读(66)  评论(0编辑  收藏  举报