diff --git a/Shutdown_automation/mahilreshi.py b/Shutdown_automation/mahilreshi.py new file mode 100644 index 000000000..1fe8a3502 --- /dev/null +++ b/Shutdown_automation/mahilreshi.py @@ -0,0 +1,8 @@ +import os + +shutdown = input("Do you wish to shutdown your computer ? (yes / no): ") + +if shutdown == 'no': + exit() +else: + os.system("shutdown /s /t 1")