in this video you will learn to create an example program to shutdown restart and logoff your windows computer using Python programming language.
Here in this tutorial we are using the system function available in the os library.
We will be using the shutdown program available in the windows operating system stored at c:\\windows\\system32\\shutdown
Here we are asking the user whether he wants to do the operation and if the user enters yes then we will execute that code.
our Social Media Pages
/ exampleprogram
/ exampleprogram
/ examplecomputerprogram
Our Website
https://www.ExampleProgram.com
#PythonProgramming #ExampleProgram