标签: python
以下代码可以重启Windows,但是如何在重启期间自动提供Windows密码?
import os, subprocess subprocess.call(['shutdown', '-r'])