On 5 July 2010 17:40, Shashwat Anand <anand.shash...@gmail.com> wrote: > use input() instead of raw_input() in Python3.x
To add to this, in Python 2 we had input() [1] (unsafe for most uses) and raw_input() [2] (safe). Python 3 removed the old input() and renamed raw_input() to input() [3,4]. Greets Sander [1] http://docs.python.org/library/functions.html#input [2] http://docs.python.org/library/functions.html#raw_input [3] http://docs.python.org/release/3.0.1/whatsnew/3.0.html#builtins [4] http://www.python.org/dev/peps/pep-3111/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor