[Tutor] Why does invalid syntax pop up?

Nathan Pinno falcon3166 at hotmail.com
Thu Jul 7 21:04:46 CEST 2005

  Here is the error:

    File "D:\password.py", line 45
      site = raw_input("Site: ")
  SyntaxError: invalid syntax

  Nathan Pinno
  ----- Original Message ----- 
  From: "Danny Yoo" <dyoo at hkn.eecs.berkeley.edu>
  To: "Nathan Pinno" <falcon3166 at hotmail.com>
  Cc: <tutor at python.org>
  Sent: Thursday, July 07, 2005 11:53 AM
  Subject: Re: [Tutor] Why does invalid syntax pop up?

  > On Thu, 7 Jul 2005, Nathan Pinno wrote:
  >>   Why does invalid syntax popup?
  > [text cut]
  > Hi Nathan,
  > What does the SyntaxError look like?  Copy-and-paste that error message
  > and bring it to the Tutor list.  One thing we want to help you do is
  > recognize what the SyntaxError is really trying to say, so that the next
  > time you see a SyntaxError, you have ways to fix it.
  > Best of wishes!

More information about the Tutor mailing list