Answers for "how to shut off computer in python"

8

how to shutdown a computer with python

import os

os.system("shutdown /s /t 1")
Posted by: Guest on July-06-2020
2

how to shutdown a windows 10 computer using python

import os


os.system("shutdown /s /t 1")
Posted by: Guest on August-30-2020

Code answers related to "how to shut off computer in python"

Python Answers by Framework

Browse Popular Code Answers by Language