shutting down computer (linux) using python
shutting down computer (linux) using python Question: I am trying to write a script that will shut down the computer if a few requirements are filled with the command os.system(“poweroff”) also tried os.system(“shutdown now -h”) and a few others. but nothing happens when I run it, the computer goes through the code without crashing or …
Total answers: 11