F
F
From Prog2021-07-14 18:37:15
Python
From Prog, 2021-07-14 18:37:15

How to turn off all computers in the computer science classroom using only python?

How to turn off all computers in the computer science classroom using only python?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Deleting Account, 2021-07-14
@Andriy_Kosmenyuk

Implementation 1: Server, on each computer, which, when requested, executes a system command that will turn off the computer. The request can be made through another device.
Implementation 2: Well, or make a scheduler that will execute the same business logic, only at a certain time, which is the same for each
computer /chat will execute the business logic

D
Denis Melnikov, 2021-07-14
@Mi11er

ssh server and all. We connect in a cycle, execute the shutdown command and it's done =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question