|| at Sep 30, 2010 at 5:30 pm
On Thu, 30 Sep 2010 09:39:08 -0700 Chris Rebert wrote:
On Thu, Sep 30, 2010 at 2:57 AM, ronald brown wrote:
print 'Hello, world!'
SyntaxError: invalid syntax
Installed 3 times. Used uninstall in program files and control
panel. Followed directions on video for 3.1
Read the fine docs:http://docs.python.org/release/3.0.1/whatsnew/3.0.html#print-is-a-function
Python 3 has several backward-incompatible syntax changes. One of them
is that the print statement was removed and replaced with a print()
Sort of serious proposal here: Would it make sense to display a big,
fat warning during the install process (and possibly on the first few
invocations of the interpreter) to the effect that "If you're starting
to learn Python, make sure you're using a Python 3 tutorial!".
This seems to throw a lot of people, and I don't see it going away too
soon. So maybe this might help?