original_docstring: Receive status of the "house" from the server.
  
          Every 60 seconds this function will receive the data sent by the server
          containing information about the house status (if lights on a room are
          turned on or off) and will write this into a log file called statusHouse.log
          
docstring: Receive status of the "house" from the server.
  Every 60 seconds this function will receive the data sent by the server
  containing information about the house status (if lights on a room are
  turned on or off) and will write this into a log file called statusHouse.log
docstring_tokens: Receive status of the " house " from the server . Every 60 seconds this function will receive the data sent by the server containing information about the house status ( if lights on a room are turned on or off ) and will write this into a log file called statusHouse . log
code: def check_status(self):
          """Receive status of the "house" from the server.
  
          Every 60 seconds this function will receive the data sent by the server
          containing information about the house status (if lights on a room are
          turned on or off) and will write this into a log file called statusHouse.log
          """
  
          while True:
              sleep(60)
              now = datetime.datetime.now()
              data = self.sock.recv(1024)
              if data:
                  logging.info("{}/{}/{} - {}:{}:{} -> {}".format(
                      now.day, now.month, now.year, now.hour,
                      now.minute, now.second, repr(data)
                  ))
code_tokens: def check_status ( self ) : while True : sleep ( 60 ) now = datetime . datetime . now ( ) data = self . sock . recv ( 1024 ) if data : logging . info ( "{}/{}/{} - {}:{}:{} -> {}" . format ( now . day , now . month , now . year , now . hour , now . minute , now . second , repr ( data ) ) )
short_docstring: Receive status of the "house" from the server.
short_docstring_tokens: Receive status of the " house " from the server .
comment: """Receive status of the "house" from the server.
  
          Every 60 seconds this function will receive the data sent by the server
          containing information about the house status (if lights on a room are
          turned on or off) and will write this into a log file called statusHouse.log
          """