Python使win10系统进入睡眠状态 先手动关闭休眠模式:cmd中运行:powercfg -h off os.system("rundll32.exe powrprof.dll, SetSuspendState Sleep")