Re: [Edu-sig] [python-advocacy] education as Python killer app
As I understand it, raw_input will be renamed input in 3.0, and the function currently implemented as input would go away, requiring you to invoke eval(input("prompt")) if you need its functionality. Thus, the PEP text you quote doesn't correspond to my understanding, based on what I took from GvR's keynote at PyCon. However, this is off topic for these lists and would be better taken up on c.l.p. where someone in the know will be sure to clarify the matter. mt On 5/31/07, hwg <hwg434@yahoo.com> wrote:
This quote is from a PEP which argues for keeping some form of raw_input():
The proposed plans for Python 3.0 would require the replacement of the single statement
speed = raw_input("What is the average airspeed velocity of an unladed swallow?")
by the more complicated
import sys print("What is the average airspeed velocity of an unladed swallow?")
import sys print("What is the average airspeed velocity of an unladed swallow?")
This dunna look right Kiptin <-- Scotty voice. Also keep in mind that some courseware just comes with its 2.x version of Python, that we're not force marching so much as leaving a trail of very usable dialects. It's so easy to install multiple Pythons, after all (easier than repointing all the old scripts to the newest interpreter and library). Kirby
participants (2)
-
kirby urner -
Michael Tobis