Gerrit van Dyk wrote:
> Try using raw_input() instead of the sys.stdin.readline(). raw_input()
> is the preferred way of getting console input.
Is it? Guido's "Python Regrets" slides (Google for them) seems
to say the opposite. Besides, that's not the problem here...
Alexander Zatvornitskiy wrot
Le Tue, 31 May 2005 03:13:31 +0400, Alexander Zatvornitskiy a écrit :
> Hello All!
>
> I'am using eric3 IDE under win32 (snapshot 2005-04-10), and have a trouble. I
> use this code:
> print "enter q to quit, or smthing else to continue"
> while not sys.stdin.readline()=="q":
> smth
Alexander Zatvornitskiy wrote:
> Hello All!
>
> I'am using eric3 IDE under win32 (snapshot 2005-04-10), and have a trouble. I
> use this code:
> print "enter q to quit, or smthing else to continue"
> while not sys.stdin.readline()=="q":
> smthing(else)
>
Try using raw_input() ins