Losing words
Chris Angelico
rosuav at gmail.com
Mon Apr 1 13:58:01 EDT 2019
On Tue, Apr 2, 2019 at 4:21 AM John Doe <john at johniedoe.com> wrote:
>
> On 2019-04-01, Joel Goldstick <joel.goldstick at gmail.com> wrote:
> >>
> >> def text():
> >> mess = input("> ")
> >> s.send(bytes("PRIVMSG " + " "+ channel + " " + mess + "\n", "UTF-8"))
> >>
> >> text()
> >>
> >
> > Is this a typo or are you calling text() from within text()?
> >>
> Indeed I do :-)
> I was thinking on another way but nothing came up to me but guess what?
> It works. What else I could do?
Use a loop, not recursion :)
ChrisA
More information about the Python-list
mailing list