[Tutor] need help how to run it on python 3.3

Danny Yoo dyoo at hashcollision.org
Wed Jan 8 22:54:04 CET 2014


Hi S Tareq,

If you can, next time please just copy and paste the error message as
plain text.  Please avoid screenshots unless they really are relevant
to the problem at hand.

There are good reasons why you should prefer plain text when asking
questions on a mailing list like this one.  (1) Screenshots are often
useful but resource-intensive.  (2) Screenshots are difficult to
search and index: folks who are using non-graphical email clients have
no way of helping you, and search engines become less useful when run
across our archives in the presence of non-textual content.


Anyway, the error message you're running into:

    NameError: name 'raw_input' is not defined


is because Python 2's 'raw_input()' has been renamed to Python 3's 'input()'.


Again, please _closely_ read the document:

    http://docs.python.org/3.0/whatsnew/3.0.html#builtins

which lists this and other backwards-incompatible changes to the language.


More information about the Tutor mailing list