On Tue, Apr 2, 2019 at 4:21 AM John Doe <j...@johniedoe.com> wrote: > > On 2019-04-01, Joel Goldstick <joel.goldst...@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 -- https://mail.python.org/mailman/listinfo/python-list