Losing words

John Doe john at johniedoe.com
Mon Apr 1 09:38:45 EDT 2019


I'm learning SOCKETS and working with Irc.
 -----------------------
 s.send(bytes("PRIVMSG " + channel +" "+ message + "\n", "UTF-8"))
 ----------------------------------------
 When more than one word ( for example: This is a message) 
 in *message* it sends the FIRST word only "This" and skips the rest.
 Any ideas how to solve the problem? I was seating on it on the night
 but nothing came up.


More information about the Python-list mailing list