Uruchom ponownie komputer PY

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