Activate high performance power plan in windows

Please use below script to activate high performance power plan in windows,

import os;
out=os.popen('powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c').read();
print(out);

sample output would be ,

activate_high_performance.jpg