Pythonwin: Red squiggley underline and syntax error

From: Brent W. Hughes (brent.hughes_at_comcast.net)
Date: 02/28/05


Date: Mon, 28 Feb 2005 11:51:31 -0700

I copied and pasted some text into my Python code and then Pythowin put a
red squiggley underline under the two tabs at the beginning of the line.
What does that mean? I've tried various things including deleting the white
space in front of the line and reinserting the tabs. I've also tried
retyping the entire line. Sometimes, I can get the red line to go away but
when I try to run the program, it gives me a syntax error on the line that
had the red underline. Help!

Brent



Relevant Pages

  • Re: Pythonwin: Red squiggley underline and syntax error
    ... > I copied and pasted some text into my Python code and then Pythowin put a ... > red squiggley underline under the two tabs at the beginning of the line. ...
    (comp.lang.python)
  • Re: Pythonwin: Red squiggley underline and syntax error
    ... >> I copied and pasted some text into my Python code and then Pythowin ... >> put a red squiggley underline under the two tabs at the beginning of ... >> tabs. ...
    (comp.lang.python)
  • Re: OT: Why is C so popular?
    ... >> If you think that my goals are incorrect, or can show that it does not ... The tabstop option is ... Taking the effect that "ts=4 et" has on files that use tabs (speaking ... and that for python code where it is uncertain what ...
    (Debian-User)
  • Re: Function editing with Vim throws IndentError
    ... The most common setting these days is 4 columns. ... IndentationError exceptions to be raised. ... I have Emacs configured to show tabs as 4 columns wide, ... such an exception happen in my Python code as a result. ...
    (comp.lang.python)
  • Re: Function editing with Vim throws IndentError
    ... The most common setting these days is 4 columns. ... using 4 spaces will be aligned with code indented with tabs. ... Vim has a feature 'softtabspace'/'sts' which is used to modify the way ... are writing python code using Vim and you intend to indent using 4 ...
    (comp.lang.python)