eric3 question

Alexander Alexander_Zatvornitskiy at p131.f3.n5025.z2.fidonet.org
Wed Jun 1 15:17:01 EDT 2005


Привет F.!

31 мая 2005 в 06:08, F. Petitjean в своем письме к 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)
 FP>       prompt = "enter q to quit, or smthing else to continue"
 FP>       req = raw_input(prompt)
 FP>       if req == "q":
 FP>           raise SystemExit()
 FP>       smthing(else)
Thank you, raw_input works fine in eric3.

Alexander, zatv at bk.ru



More information about the Python-list mailing list