[Tutor] Why does invalid syntax pop up?
Nathan Pinno
falcon3166 at hotmail.com
Thu Jul 7 21:09:04 CEST 2005
Here is another error message:
Traceback (most recent call last):
File "D:\password.py", line 69, in ?
main_menu()
NameError: name 'main_menu' is not defined
Thanks.
----- Original Message -----
From: "Nathan Pinno" <falcon3166 at hotmail.com>
To: "Danny Yoo" <dyoo at hkn.eecs.berkeley.edu>
Cc: <tutor at python.org>
Sent: Thursday, July 07, 2005 1:04 PM
Subject: Re: [Tutor] Why does invalid syntax pop up?
> Here is the error:
>
> File "D:\password.py", line 45
> site = raw_input("Site: ")
> ^
> SyntaxError: invalid syntax
>
> HTH,
> 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!
> >
> >
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list