Syntax Error

Manatee markrrivet at aol.com
Sat Mar 19 14:04:36 EDT 2011


On Mar 19, 3:26 am, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:
> On Fri, 18 Mar 2011 21:39:20 -0700, Manatee wrote:
> > I hope this is the place to post this question. I am a really new
> > pythonista. I am studying Tkinter and when I run this basic code, I get
> > a syntax error on line 20,  print "hi there, everyone". Its a simple
> > print line, but I can't see the problem.
>
> Well, what does the syntax error say? Please post the complete traceback
> showing the full error. Copy and paste it, in full, do not summarize,
> paraphrase, re-word, simplify or otherwise change it.
>
> --
> Steven


Here is the complete traceback as copied from the DOS window.

C:\Users\Rivetmr\MyPythonScripts>Hello2.py
  File "C:\Users\Rivetmr\MyPythonScripts\Hello2.py", line 20
    print "hi there, everyone"
                             ^
SyntaxError: invalid syntax



More information about the Python-list mailing list