[Tutor] Problem with print

David Hutto smokefloat at gmail.com
Sun Dec 19 22:17:16 CET 2010


On Sun, Dec 19, 2010 at 4:05 PM, Alex Hall <mehgcap at gmail.com> wrote:
> Sorry to top-post (gMail mobile).
> This looks like you missed a quote, colon, or something on a line
> elsewhere in the file (likely above it). Find that and this should be
> fixed.
>
> On 12/19/10, jtl999 <jacksmoo111 at gmail.com> wrote:
>>  File "GettingStarted.py", line 91
>>     print ("Lesson Two")

It looks like you're following a tutorial for python 3 where print('stuff here')
is used, and in 2 you use print 'whatever', no parentheses.

>>         ^
>> SyntaxError: invalid syntax
>>
>> Python 2.6.5
>>
>
>
> --
> Have a great day,
> Alex (msg sent from GMail website)
> mehgcap at gmail.com; http://www.facebook.com/mehgcap
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
They're installing the breathalyzer on my email account next week.


More information about the Tutor mailing list