Restart komputer py

import os;
os.system("shutdown /r")
CodeIsEveryThing