Python Shutdown Code...

Опубликовано: 02 Июнь 2026
на канале: Coding For Everyone
4
0

YOU CAN SHUTDOWN YOUR LAPTOP, with just one small piece of code.
This may only work on Windows laptops, but I am not entirely sure with Linux, Ubuntu and Mac. Give it a try. Please like and subscribe.
Run it through the command prompt that is built in through the Windows OS. Save it through IDLE (I prefer it), then write this in the Command prompt(Windows): C:\Users\(whatever your user name is)\OneDrive\Desktop\shutdown.py

Save it as shutdown.py

Thank you so much.
Consider liking the video.
Subscribe, please!
By the way, I am a self-taught ten-year-old python programmer.