Asking for input without stopping the script in python.
- by ImTooStupidForThis
I am (trying) to make a simple IRC client in python (as kind of a project while I learn the language).
I have a loop that I use to receive and parse what the IRC server sends me, but if I use raw_input to input stuff, it stops the loop dead in its tracks until I input something (obviously).
How can I input something without the loop stopping?
Thanks in advance.
(I don´t think I need to post the code, I just want to input something without the while 1 loop stopping.)