Use Python to Edit Windows 8 Power Options
问题 The Problem: Every time I restart my computer my Windows 8 power settings go back to default and puts my computer to sleep after an hour. I don't want my computer to ever go to sleep unless I say so... I have to go in Control Panel > System and Security > Power Options > Edit Plan Settings and manually edit the put the computer to sleep setting to Never. What I want: A Python script to edit the Power Options in Windows 8. I will set it to run every time I reboot. I've searched for a Python