code: def start(self):
          
          if not self.writeThread.isAlive() and not self.readThread.isAlive():
              self.client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
              self.client.connect(self.ADDR)
              self.running = True
              self.writeThread.start()
              self.readThread.start()
docs: Open sockets to the server and start threads