> On Thu, Sep 30, 2010 at 4:16 PM, Chris Rebert <c...@rebertia.com> wrote:
>> On Thu, Sep 30, 2010 at 2:02 AM, roronron <rbrown...@gmail.com> wrote:
>> > My python installed but the gui gives me syntax error on any code I type
>> > or paste in. Newbie needs help.
>>
>> Post the full, exact text of the error message.
>> See also: http://www.catb.org/esr/faqs/smart-questions.html

On Thu, Sep 30, 2010 at 2:57 AM, ronald brown <rbrown...@gmail.com> 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()
function.

Regards,
Chris
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to