daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Mar 21st, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def handleMessage(self):
  2.     # echo message back to client
  3.     message = self.data
  4.     response = get_response(message)
  5.     self.sendMessage(response)
  6.  
  7. def handleConnected(self):
  8.     print(self.address, 'connected')
  9.  
  10. def handleClose(self):
  11.     print(self.address, 'closed')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top