eric3 question

F. Petitjean littlejohn.75 at news.free.fr
Tue May 31 02:08:55 EDT 2005


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":
>         smthing(else)
> 
      prompt = "enter q to quit, or smthing else to continue"
      req = raw_input(prompt)
      if req == "q":
          raise SystemExit()
      smthing(else)
> Thank you in advance
> 
> Alexander, zatv at bk.ru



More information about the Python-list mailing list