On Tuesday 02 December 2008, lei ren wrote:
> if i want to get the
> user's input with raw_input() in a while loop,but it will block to wait
> the user' input
> what can i do for this .use thread? of twisted have some more power
> feature for the problem,,thank you every body
Maybe you can put sys.stdin in non-blocking mode? I never tried it though.
Bye,
Maarten
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python