Advertisement
ALENTL

main.py

Jul 27th, 2022
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. import os
  2.  
  3. def shutdown():
  4.     print("Shutting down your system")
  5.     os.system("shutdown /s 1")
  6.  
  7. def reboot():
  8.     print("Restarting the systeme")
  9.     os.system("shutdown /r /t 1")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement