#关键代码
import subprocess
subprocess.Popen("rundll32 powrprof.dll,SetSuspendState Hibernate")
转自:http://kingbase.org/blog/windows_hibernate_python/
python--实现windows休眠
最新推荐文章于 2024-01-02 14:57:00 发布
#关键代码
import subprocess
subprocess.Popen("rundll32 powrprof.dll,SetSuspendState Hibernate")
转自:http://kingbase.org/blog/windows_hibernate_python/