[Tutor] Problem with a variable in a CGI program
Alan Gauld
alan.gauld at freenet.co.uk
Sat Jan 8 00:44:52 CET 2005
> But now I have much weirder problem...
> I got this error:
>
> C:\>maillist.py
> File "C:\maillist.py", line 84
>
> ^
> SyntaxError: invalid syntax
>
> And the weird thing is that the program has only 83 lines...
> For some reason python thinks that I have a ^ on the 84 code line.
> Whats wrong ??
It doesn't think you have a ^ anywhere, the caret(^) is
pointing at what it thinks is the error, in this case a
line of white space. Could it be you have an unterminated
string (missing close quotes) at the end of your program?
Alan G
More information about the Tutor
mailing list