Losing words
Chris Angelico
rosuav at gmail.com
Mon Apr 1 10:16:25 EDT 2019
On Tue, Apr 2, 2019 at 12:41 AM John Doe <john at johniedoe.com> wrote:
>
> 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.
Does your message begin with a colon?
You may need a lot more context here. I have no idea what you're
running into because one line of code is vastly insufficient.
ChrisA
More information about the Python-list
mailing list