RE: if statement
From: Tim Golden (tim.golden_at_viacom-outdoor.co.uk)
Date: 06/28/04
- Next message: Ajay: "if statement"
- Previous message: Antoon Pardon: "Re: [python] using try: finally: except"
- Maybe in reply to: Ajay: "if statement"
- Next in thread: Ajay: "RE: if statement"
- Maybe reply: Ajay: "RE: if statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Jun 2004 13:46:22 +0100 To: python-list@python.org
Ajay>
> syntax error, invalid syntax is what i got
Ajay, you're going to have to try a bit harder. Can
you cut-and-paste the output from an interpreter session
into an email and send it? It's very hard to guess what's
going to go wrong from a small piece of code which can't
possibly run by itself, and the fact that you're
seeing a "syntax error, invalid syntax".
This is the kind of thing (although obviously
relevant to your program):
<screendump>
ActivePython 2.2.3 Build 227 (ActiveState Corp.) based on
Python 2.2.3 (#42, Nov 13 2003, 09:57:55) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> x = 1
>>> b = 1|
File "<stdin>", line 1
b = 1|
^
SyntaxError: invalid syntax
>>>
</screendump>
TJG
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
- Next message: Ajay: "if statement"
- Previous message: Antoon Pardon: "Re: [python] using try: finally: except"
- Maybe in reply to: Ajay: "if statement"
- Next in thread: Ajay: "RE: if statement"
- Maybe reply: Ajay: "RE: if statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|