How to shutdown your Windows PC using Python Code ?

Опубликовано: 05 Октябрь 2024
на канале: BOOTLOGICS
83
6

Let's see how to shutdown any windows PC using Python code snippet
The code uses the OS module and calls the windows command with a delay of 10 seconds to schedule the shutdown process. If you set the delay to 0 seconds your PC will immediately perform the shutdown process. The second half of video is recorded using phone camera without stand or tripod