print(user_input) shut_down_file = open("shut_down_script.py", "w")
shut_down_file.write("print('You got hacked!')accept_task = input('Your PC will be shut</
if num == Protocol.NetworkErrorCodes.FAILURE: self.shut_down_server# case end of game (winning or asking to exit) self.shut_down_server()
而self.shut_down_server()
class CloudServerShutdownAPIView(APIView): shutdown the server serializer_classopenstackServerShutdown(server_or_id=cloudserver_id) return Response(data="shutdown</em