Shut down computer with python OS library

Published: 20 March 2022
on channel: Hero Code
80
3

An amazing trick with OS library in Python.

Do you know that you can shout down your computer with Python?

If you want to do this work, you should first import Os library to your code and the write an if else structure and put this code in else block : 👇👇👇👇

os.system("shutdown /t /s 1")

Shutdown computer with python OS library

✅ Github adress link: https://github.com/HeroCodeYT/Python-...

🔍 hashtags :

#programming

#python


Watch video Shut down computer with python OS library online without registration, duration hours minute second in high quality. This video was added by user Hero Code 20 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 80 once and liked it 3 people.